On Wed, Jan 11, 2017 at 11:48:03AM +0100, Martin Liška wrote: > gcc/testsuite/ChangeLog: > > 2017-01-11 Martin Liska <mli...@suse.cz> > > * gcc.dg/tree-ssa/flatten-3.c: Add -fno-ipa-icf to dg-options. > --- > gcc/testsuite/gcc.dg/tree-ssa/flatten-3.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/testsuite/gcc.dg/tree-ssa/flatten-3.c > b/gcc/testsuite/gcc.dg/tree-ssa/flatten-3.c > index a1edb910e9d..153165c72e3 100644 > --- a/gcc/testsuite/gcc.dg/tree-ssa/flatten-3.c > +++ b/gcc/testsuite/gcc.dg/tree-ssa/flatten-3.c > @@ -1,5 +1,5 @@ > /* { dg-do compile } */ > -/* { dg-options -O2 } */ > +/* { dg-options -O2 -fno-ipa-icf } */ > > extern void do_something_usefull(); > /* Check that we finish compiling even if instructed to
The test still fails, now with: ERROR: gcc.dg/tree-ssa/flatten-3.c: syntax error in target selector "-fno-ipa-icf" for " dg-options 2 -O2 -fno-ipa-icf " Fixed thusly, committed as obvious: 2017-01-11 Jakub Jelinek <ja...@redhat.com> * gcc.dg/tree-ssa/flatten-3.c: Add quotation marks around dg-options argument. --- gcc/testsuite/gcc.dg/tree-ssa/flatten-3.c (revision 244331) +++ gcc/testsuite/gcc.dg/tree-ssa/flatten-3.c (working copy) @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options -O2 -fno-ipa-icf } */ +/* { dg-options "-O2 -fno-ipa-icf" } */ extern void do_something_usefull(); /* Check that we finish compiling even if instructed to Jakub