[Bug tree-optimization/93540] Attributes pure and const not working with aggregate return types, even trivial ones
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Feb 2 06:42:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93540
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Component|c |tree-optimization
Severity|normal |enhancement
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Yes this is expected. GCC only currently handles non-aggregate pure/const
functions (vector and complex types work).
More information about the Gcc-bugs
mailing list