* [PATCH] Fix forwprop-29.c testcase
@ 2014-12-10 15:21 Richard Biener
0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2014-12-10 15:21 UTC (permalink / raw)
To: gcc-patches
The testcase relies on inlining two functions but if ICF unifies
them (they are equal) then for some reason that doesn't happen.
Even more weird on x86_64 ICF doesn't unify them.
Well, the testcase isn't about ICF so simply disable it.
Richard.
2014-12-10 Richard Biener <rguenther@suse.de>
* gcc.dg/tree-ssa/forwprop-29.c: Add -fno-ipa-icf.
Index: gcc/testsuite/gcc.dg/tree-ssa/forwprop-29.c
===================================================================
--- gcc/testsuite/gcc.dg/tree-ssa/forwprop-29.c (revision 218515)
+++ gcc/testsuite/gcc.dg/tree-ssa/forwprop-29.c (working copy)
@@ -1,4 +1,4 @@
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -fno-ipa-icf" } */
void runtime_error (void) __attribute__ ((noreturn));
void compiletime_error (void) __attribute__ ((noreturn, error ("")));
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-12-10 15:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-10 15:21 [PATCH] Fix forwprop-29.c testcase Richard Biener
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).