public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Mainline Regression in gcc.target/i386/pr32268.c
@ 2008-02-16 18:07 Kaveh R. GHAZI
  2008-02-16 18:39 ` Richard Guenther
  0 siblings, 1 reply; 18+ messages in thread
From: Kaveh R. GHAZI @ 2008-02-16 18:07 UTC (permalink / raw)
  To: ubizjak; +Cc: gcc, gcc-patches

Hi Uros,

This broke on x86_64 in the last day or so, I thought maybe you might know
what happened.  (You touched config/i386 FP stuff recently.)  I'm seeing a
regression in gcc.target/i386/pr32268.c as seen here:
http://gcc.gnu.org/ml/gcc-testresults/2008-02/msg01108.html

Right now the execute failures only appear with -fpic/-fPIC, however I
believe this is because inlining is masking the problem and allowing
things to get folded.  With -fpic/-fPIC the inlining is disabled and the
abort occurs.

You can trigger the bug in a regular pass by applying the following
noinline patch to the testcase.  Thoughts?

		Thanks,
		--Kaveh


diff -rup orig/egcc-SVN20080216/gcc/testsuite/gcc.target/i386/pr32268.c egcc-SVN20080216/gcc/testsuite/gcc.target/i386/pr32268.c
--- orig/egcc-SVN20080216/gcc/testsuite/gcc.target/i386/pr32268.c	2007-12-31 19:11:58.000000000 +0100
+++ egcc-SVN20080216/gcc/testsuite/gcc.target/i386/pr32268.c	2008-02-16 18:34:04.000000000 +0100
@@ -4,12 +4,14 @@

 extern void abort(void);

-int test_lt(__float128 x, __float128 y)
+int __attribute__ ((__noinline__))
+test_lt(__float128 x, __float128 y)
 {
   return x < y;
 }

-int test_gt (__float128 x, __float128 y)
+int __attribute__ ((__noinline__))
+test_gt (__float128 x, __float128 y)
 {
   return x > y;
 }

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2008-02-19  7:14 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-16 18:07 Mainline Regression in gcc.target/i386/pr32268.c Kaveh R. GHAZI
2008-02-16 18:39 ` Richard Guenther
2008-02-16 18:58   ` Uros Bizjak
2008-02-16 19:00     ` Richard Guenther
2008-02-16 19:02       ` Andrew Pinski
2008-02-16 19:07   ` Kaveh R. Ghazi
2008-02-16 19:10     ` Richard Guenther
2008-02-16 19:46       ` Kaveh R. Ghazi
2008-02-16 19:46         ` Richard Guenther
2008-02-16 21:55           ` [PATCH] " Uros Bizjak
2008-02-16 23:29             ` Kaveh R. Ghazi
2008-02-16 23:44             ` Jakub Jelinek
2008-02-17  7:27               ` David Edelsohn
2008-02-17 10:08               ` Uros Bizjak
2008-02-17 11:57                 ` Jakub Jelinek
2008-02-17 12:44                   ` Uros Bizjak
2008-02-19  1:33                 ` David Edelsohn
2008-02-19  7:48                   ` Uros Bizjak

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