This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/24233] -fomit-frame-pointer causes really dire code to be 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: 6 Oct 2005 10:40:51 -0000
- Subject: [Bug c/24233] -fomit-frame-pointer causes really dire code to be generated
- References: <bug-24233-4603@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from arjanv at redhat dot com 2005-10-06 10:40 -------
(gcc 4.0.1 fwiw)
btw without -march=i686 also good code is generated:
3: c7 04 24 00 00 00 00 movl $0x0,(%esp)
a: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp)
12: c7 44 24 08 00 00 00 movl $0x0,0x8(%esp)
1a: c7 44 24 0c 00 00 00 movl $0x0,0xc(%esp)
22: c7 44 24 10 00 00 00 movl $0x0,0x10(%esp)
2a: c7 44 24 14 00 00 00 movl $0x0,0x14(%esp)
32: c7 44 24 18 00 00 00 movl $0x0,0x18(%esp)
etc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24233