This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/30957] Misscompare with variable expansion optimization



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]