[llvm-commits] [test-suite] r99139 - /test-suite/trunk/Makefile.programs

Torok Edwin edwintorok at gmail.com
Sun Mar 21 13:14:48 PDT 2010


Author: edwin
Date: Sun Mar 21 15:14:48 2010
New Revision: 99139

URL: http://llvm.org/viewvc/llvm-project?rev=99139&view=rev
Log:
Compilation of .cbe.c files should be done under RunToolSafely.
Otherwise gcc exhausts memory on whetstone.cbe.c, see gcc PR43472.

Modified:
    test-suite/trunk/Makefile.programs

Modified: test-suite/trunk/Makefile.programs
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/Makefile.programs?rev=99139&r1=99138&r2=99139&view=diff
==============================================================================
--- test-suite/trunk/Makefile.programs (original)
+++ test-suite/trunk/Makefile.programs Sun Mar 21 15:14:48 2010
@@ -376,7 +376,7 @@
 
 $(PROGRAMS_TO_TEST:%=Output/%.cbe): \
 Output/%.cbe: Output/%.cbe.c
-	-$(CC) $< -o $@ $(LDFLAGS) $(CFLAGS) $(OPTFLAGS) -fno-strict-aliasing -fno-inline $(TARGET_FLAGS) $(LIBS)
+	-$(RUNTOOLSAFELY) $(CC) $< -o $@ $(LDFLAGS) $(CFLAGS) $(OPTFLAGS) -fno-strict-aliasing -fno-inline $(TARGET_FLAGS) $(LIBS)
 
 #
 # Compile a linked program to machine code with LLC.





More information about the llvm-commits mailing list