[llvm-commits] [llvm-gcc-4.2] r102536 - /llvm-gcc-4.2/trunk/gcc/c-common.c
Dale Johannesen
dalej at apple.com
Wed Apr 28 15:05:34 PDT 2010
Author: johannes
Date: Wed Apr 28 17:05:34 2010
New Revision: 102536
URL: http://llvm.org/viewvc/llvm-project?rev=102536&view=rev
Log:
Fix an assert with asm blocks on non-x86 target (no
problem in non-assert builds).
Modified:
llvm-gcc-4.2/trunk/gcc/c-common.c
Modified: llvm-gcc-4.2/trunk/gcc/c-common.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/c-common.c?rev=102536&r1=102535&r2=102536&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/c-common.c (original)
+++ llvm-gcc-4.2/trunk/gcc/c-common.c Wed Apr 28 17:05:34 2010
@@ -8090,6 +8090,8 @@
sexpr = build_string (strlen (iasm_buffer), iasm_buffer);
clobbers = uses;
+ /* LLVM LOCAL uses have been moved into clobbers. */
+ uses = NULL_TREE;
#ifdef TARGET_MACHO
if (iasm_memory_clobber (opcodename))
{
More information about the llvm-commits
mailing list