[Bug tree-optimization/78709] Code size is bigger at -Os than at -O3, -Os does not enable -ftree-loop-distribute-patterns

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 9 09:17:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78709

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-12-09
            Summary|Code size is bigger at -Os  |Code size is bigger at -Os
                   |than at -O3                 |than at -O3, -Os does not
                   |                            |enable
                   |                            |-ftree-loop-distribute-patt
                   |                            |erns
     Ever confirmed|0                           |1
           Severity|normal                      |enhancement

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Just enable it yourself...  As of it's current implementation it's not always a
code-size win (its cost model would need adjustments).


More information about the Gcc-bugs mailing list