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

login
register
mail settings
Submitter Martin Jambor
Date March 17, 2011, 5:43 p.m.
Message ID <20110317174312.GA25444@virgil.arch.suse.de>
Download mbox | patch
Permalink /patch/87406/
State New
Headers show

Comments

Martin Jambor - March 17, 2011, 5:43 p.m.
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

Patch

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)
 {