This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/41749] non-needed instructions are not removed (not optimized)
- From: "socketpair at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Oct 2009 07:14:32 -0000
- Subject: [Bug c/41749] non-needed instructions are not removed (not optimized)
- References: <bug-41749-17114@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from socketpair at gmail dot com 2009-10-19 07:14 -------
gcc322 generates this:
(gcc -Os -fomit-frame-pointer qwe.c --save-temps)
main:
movl $1, %eax
ret
WTF?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41749