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

颜森道 <yansendao at 126 dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #66257|0                           |1
        is obsolete|                            |

--- Comment #2 from 颜森道 <yansendao at 126 dot com> ---
Created attachment 66389
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=66389&action=edit
middle-end: record -funroll-loops enabled by profile feedback as set

Generic version of the fix, posted to gcc-patches
(Message-Id <[email protected]>).

It records -funroll-loops as explicit in opts_set when -fprofile-use
enabled it, so the x86/rs6000/riscv/s390 hooks apply their normal
defaults to profile-feedback builds.  Jan asked for this generic form
instead of the i386-only attachment 66257.

Full check-gcc on x86_64 and aarch64: no regressions; a new tree-prof
test covers -O2 -fprofile-use.

Reply via email to