[Bug c/92276] Embedded __attribute__ ((optimize("unroll-loops"))) is not working together with '__attribute__ ((__always_inline__))'
Lijian.Zhang at arm dot com
gcc-bugzilla@gcc.gnu.org
Wed Oct 30 08:56:00 GMT 2019
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.
More information about the Gcc-bugs
mailing list