https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108915
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |INVALID --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to AK from comment #4) > Adding `__attribute__((used))` also fixed it. Does it reflect the same > behavior as using `asm` as you suggested? NO.