[testsuite] Remove explicit -O2 from gcc.c-torture/compile/pr44686.c

Martin Jambor mjambor@suse.cz
Thu Mar 17 17:43:00 GMT 2011


Hi,

I'm about to check in the following as obvious.  The explicit -O2
defeats the different O levels the torture mechanism tries.

Tested on x86_64-linux by running 

make -k check RUNTESTFLAGS="compile.exp=pr44686.c"

and verifying all tests passed.

Thanks,

Martin


Index: gcc/testsuite/gcc.c-torture/compile/pr44686.c
===================================================================
--- gcc/testsuite/gcc.c-torture/compile/pr44686.c	(revision 170933)
+++ gcc/testsuite/gcc.c-torture/compile/pr44686.c	(working copy)
@@ -1,4 +1,4 @@
-/* { dg-options "-O2 -fipa-pta -fprofile-generate" } */
+/* { dg-options "-fipa-pta -fprofile-generate" } */
 void *
 memcpy (void *a, const void *b, __SIZE_TYPE__ len)
 {



More information about the Gcc-patches mailing list