http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56598
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-03-12 09:49:07 UTC --- Surprisingly it is reordered by LRA, with targetm.lra_p = hook_bool_void_false; the problem still exists. Note that for -Os I think it is a bug, because it generates longer code, but for other optimization levels it can be fine, depending on the bb predictions. The numbers for those are slightly different between the macro version and inline version.