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 middle-end/41741] -Os generates bigger code than -O2 for simple loops



------- Comment #1 from rguenth at gcc dot gnu dot org  2009-10-18 13:53 -------
I think that's the usual loop-header copying trade-off.  If you do it you
possibly increase code size, if you don't, you lose optimization - especially
on induction variables.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41741


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