https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122780
--- Comment #4 from m.cencora at gmail dot com --- I see, thanks for explanation. Is there a func attribute that would say "this func doesn't use globals" which would allow for the mentioned optimization to apply?
