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/54969] Bitfield test not optimised at -Os.


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

--- Comment #3 from Ralph Loader <suckfish at ihug dot co.nz> 2012-10-18 09:56:36 UTC ---
Re copy-header: adding -ftree-ch to the command line does not improve the code.

Replacing the bitwise test 'f & 1' with a numeric test 'f < 27', gcc -Os
optimises properly.


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