[Bug c/78903] __attribute__((section(".ram"))) ignored with -Os or -flto
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 17 09:43:23 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78903
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
As mentioned section does not block inlining. So this is exacted. You need to
use noinline or noipa to get that effect.
More information about the Gcc-bugs
mailing list