public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/52897] New: gcc 4.7.0 generates worse code than gcc 3.4.6 for m68000
@ 2012-04-07  8:36 fdarkangel at gmail dot com
  2012-04-07  8:37 ` [Bug c/52897] " fdarkangel at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: fdarkangel at gmail dot com @ 2012-04-07  8:36 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52897
           Summary: gcc 4.7.0 generates worse code than gcc 3.4.6 for
                    m68000
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: fdarkangel@gmail.com


cube_flat demo included with SGDK (http://code.google.com/p/sgdk) performed
very differently when compiled with gcc 3.4.6 and gcc 4.7.0. Attached code was
the core of the problem; you can find the assembly codes generated by -O2,
although the problem appears at -O3 as well.

I also noticed that turning off gsce adds a pointless "move.l #12582912,%a1"
instruction (.L3 of bmp-gcc4-O2-no-gcse.s), which doesn't appear in gcc3.


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

end of thread, other threads:[~2015-01-16 19:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-07  8:36 [Bug c/52897] New: gcc 4.7.0 generates worse code than gcc 3.4.6 for m68000 fdarkangel at gmail dot com
2012-04-07  8:37 ` [Bug c/52897] " fdarkangel at gmail dot com
2012-04-07 10:33 ` mikpe at it dot uu.se
2013-12-18  4:35 ` [Bug target/52897] " fdarkangel at gmail dot com
2014-09-12  2:34 ` fdarkangel at gmail dot com
2014-09-13  9:57 ` mikpelinux at gmail dot com
2014-09-13 16:10 ` fdarkangel at gmail dot com
2015-01-16 19:44 ` law at redhat dot com

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