https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92276
Lijian Zhang <Lijian.Zhang at arm dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Lijian Zhang <Lijian.Zhang at arm dot com> --- In my case, the callee is defined with '__attribute__ ((__always_inline__))', and I want to apply automatic loop unrolling. The '__attribute__ ((optimize("unroll-loops")))' has to be added for the caller, not the callee.