[Bug rtl-optimization/56598] At -Os basic blocks are not properly re-ordered to avoid fallthru jumps

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 12 09:49:00 GMT 2013


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.



More information about the Gcc-bugs mailing list