public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/54128] New: GCC does not bootstrap on little endian mips due to mis-compare on tree-data-ref.c
@ 2012-07-30 16:18 sje at gcc dot gnu.org
  2012-07-31  9:34 ` [Bug bootstrap/54128] " rguenth at gcc dot gnu.org
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: sje at gcc dot gnu.org @ 2012-07-30 16:18 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54128

             Bug #: 54128
           Summary: GCC does not bootstrap on little endian mips due to
                    mis-compare on tree-data-ref.c
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: sje@gcc.gnu.org


A bootstrap using the latest GCC fails on a little endian MIPS system due to a
compare failure.

make[3]: Leaving directory `/home2/sje/gcc_native/obj-native/gcc'
Comparing stages 2 and 3
warning: gcc/cc1plus-checksum.o differs
warning: gcc/cc1-checksum.o differs
Bootstrap comparison failure!
gcc/tree-data-ref.o differs
make[2]: *** [compare] Error 1

It looks like someone else saw this on a debian box and submitted a debian
bug, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634881, but their fix
was to workaround it by using -gtoggle for both the stage 2 and stage 3 builds.
It is -gtoggle that is causing the difference.  Comparing the two objects I see
a small code gen difference in  "analyze_subscript_affine".  I have attached
the preprocessed version of that source file to this bug report.  Compiling it
with C++ and "-g -O2 -fno-exceptions -fno-rtti -fno-common" in one case and
adding -gtoggle in the second case should show the codegen difference.  You may
need -EL if using a mips GCC that does not generated little-endian by default.


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

end of thread, other threads:[~2013-01-14 19:36 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-30 16:18 [Bug bootstrap/54128] New: GCC does not bootstrap on little endian mips due to mis-compare on tree-data-ref.c sje at gcc dot gnu.org
2012-07-31  9:34 ` [Bug bootstrap/54128] " rguenth at gcc dot gnu.org
2012-07-31  9:40 ` pinskia at gcc dot gnu.org
2012-07-31 15:17 ` sje at gcc dot gnu.org
2012-07-31 15:27 ` sje at gcc dot gnu.org
2012-08-02 17:20 ` sje at gcc dot gnu.org
2012-08-09 23:47 ` sje at gcc dot gnu.org
2012-08-10 20:11 ` sje at gcc dot gnu.org
2012-08-14 23:35 ` sje at gcc dot gnu.org
2012-08-15  8:52 ` [Bug bootstrap/54128] [4.8 Regression] " rguenth at gcc dot gnu.org
2012-08-15 18:02 ` sje at gcc dot gnu.org
2012-08-15 23:22 ` sje at gcc dot gnu.org
2012-08-28 23:07 ` sje at gcc dot gnu.org
2012-09-04 21:47 ` sje at gcc dot gnu.org
2012-09-19 14:09 ` rguenth at gcc dot gnu.org
2012-11-19 10:46 ` jakub at gcc dot gnu.org
2012-12-10 10:58 ` jakub at gcc dot gnu.org
2012-12-21  1:53 ` aoliva at gcc dot gnu.org
2012-12-21 18:54 ` sje at gcc dot gnu.org
2012-12-21 19:32 ` jakub at gcc dot gnu.org
2013-01-14 19:36 ` steven at gcc dot gnu.org

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