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]

Re: fold_truthop patch causes sparcv9 testsuite regressions


   From: Roger Sayle <roger@eyesopen.com>
   Date: Mon, 24 Jun 2002 07:21:56 -0600 (MDT)
   
   Just out of curiosity, does this fix any other GCC test suite failures
   using "-m64" on sparc*-sun-solaris*?  I'd have thought that the recent
   20000511-1.c failure caused by my optimization is only the tip of the
   iceberg.
   
No, it doesn't.  How much code computes the modulo of constant zero on
purpose?  :-)  That is the condition necessary for this to trigger.

If one likes, one could add a "int foo(int x) { return x % 0; }" to
gcc.dg to make sure this bug doesn't come back.  Be mindful to ignore
the warnings properly :-)



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