https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115825
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |15.0
Summary|[12/13/14/15 Regression] |[12/13/14 Regression] Loop
|Loop unrolling increases |unrolling increases code
|code size with -Os |size with -Os
--- Comment #13 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed on trunk, I'm unlikely going to backport this though as with all
heuristics this is going to cause some regressions (none important though,
hopefully). There's a workaround by adding #pragma GCC unroll 0 to loops
where this hurts most.
Going to keep it open for tracking/duping anyway.