https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018
--- Comment #35 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jiu Fu Guo <guoji...@gcc.gnu.org>: https://gcc.gnu.org/g:557a40f599f64e40cc1b20254bf82acc775375f5 commit r11-1020-g557a40f599f64e40cc1b20254bf82acc775375f5 Author: guojiufu <guoji...@linux.ibm.com> Date: Thu May 28 14:10:39 2020 +0800 rs6000: allow cunroll to grow size according to -funroll-loop or -fpeel-loops Previously, flag_unroll_loops was turned on at -O2 implicitly. This also turned on cunroll with allowance size increasing, and cunroll will unroll/peel the loop even the loop is complex like code in PR95018. With this patch, size growth for cunroll is allowed only for if -funroll-loops or -fpeel-loops or -O3 is specified explicitly. gcc/ChangeLog 2020-06-07 Jiufu Guo <guoji...@linux.ibm.com> PR target/95018 * config/rs6000/rs6000.c (rs6000_option_override_internal): Override flag_cunroll_grow_size.