This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/30957] Misscompare with variable expansion optimization
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jan 2008 18:23:28 -0000
- Subject: [Bug rtl-optimization/30957] Misscompare with variable expansion optimization
- References: <bug-30957-13229@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from ubizjak at gmail dot com 2008-01-10 18:23 -------
(In reply to comment #13)
> This testcase has an execution failure on i686-pc-linux-gnu when using
> -fpic/-fPIC.
They also fail for non-pic compilations when the testcase _really_ executes the
test:
Index: testsuite/gcc.dg/pr30957-1.c
===================================================================
--- testsuite/gcc.dg/pr30957-1.c (revision 131441)
+++ testsuite/gcc.dg/pr30957-1.c (working copy)
@@ -7,7 +7,7 @@
extern void abort (void);
extern void exit (int);
-float
+float __attribute__((noinline))
foo (float d, int n)
{
unsigned i;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30957