This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/13355] New: Suboptimal code generated
- From: "arjanv at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Dec 2003 15:12:05 -0000
- Subject: [Bug c/13355] New: Suboptimal code generated
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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