public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/13355] New: Suboptimal code generated
@ 2003-12-08 15:12 arjanv at redhat dot com
  2003-12-08 15:13 ` [Bug c/13355] " arjanv at redhat dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: arjanv at redhat dot com @ 2003-12-08 15:12 UTC (permalink / raw)
  To: gcc-bugs

Attached .c file generates quite suboptimal code with tree-ssa including
* excessive stack slot usage
* moving data from a reg to a stack slot and then immediately moving it back to    
  the same reg
* cltd does not modify EAX so the XOR of eax after that instruction with the
previously-saved value is guaranteed to yield 0 so redundant

-- 
           Summary: Suboptimal code generated
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: arjanv at redhat dot com
                CC: dnovillo at redhat dot com,gcc-bugs at gcc dot gnu dot
                    org
 GCC build triplet: i686-redhat-linux
  GCC host triplet: i686-redhat-linux
GCC target triplet: i686-redhat-linux


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


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

end of thread, other threads:[~2005-03-29  1:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-08 15:12 [Bug c/13355] New: Suboptimal code generated arjanv at redhat dot com
2003-12-08 15:13 ` [Bug c/13355] " arjanv at redhat dot com
2003-12-08 16:05 ` [Bug optimization/13355] " pinskia at gcc dot gnu dot org
2003-12-08 16:56 ` [Bug c/13355] " arjanv at redhat dot com
2003-12-08 18:59 ` [Bug optimization/13355] " pinskia at gcc dot gnu dot org
2003-12-08 19:36 ` pinskia at gcc dot gnu dot org
2003-12-09  8:43 ` arjanv at redhat dot com
2003-12-24  5:49 ` kazu at cs dot umass dot edu
2003-12-26  4:21 ` pinskia at gcc dot gnu dot org
2004-03-12 16:39 ` [Bug optimization/13355] Suboptimal code generated with global register variables pinskia at gcc dot gnu dot org
2005-03-29  1:55 ` [Bug rtl-optimization/13355] " pinskia at gcc dot gnu dot 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).