[Bug c/41749] non-needed instructions are not removed (not optimized)

socketpair at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Oct 19 07:14:00 GMT 2009



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



More information about the Gcc-bugs mailing list