This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]