https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92738
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization,
| |needs-bisection
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
There is
2019-05-23 Richard Biener <[email protected]>
PR tree-optimization/88440
* opts.c (default_options_table): Enable
-ftree-loop-distribute-patterns
at -O[2s]+.
* tree-loop-distribution.c (generate_memset_builtin): Fold the
generated call.
(generate_memcpy_builtin): Likewise.
(distribute_loop): Pass in whether to only distribute patterns.
(prepare_perfect_loop_nest): Also allow size optimization.
(pass_loop_distribution::execute): When optimizing a loop
nest for size allow pattern replacement.
but that should cause code-size shrinking... (just try
-fno-tree-loop-distribute-patterns and see if fixed)