https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97697
--- Comment #4 from Jakub Jelinek ---
I guess an optimization barrier will always work.
E.g. adding
__asm ("" : "+g" (nrn_pass_num));
before the loop.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97697
Richard Biener changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|UNCONFIRME
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97697
--- Comment #2 from Marcin Jasinski ---
Is there any workaround possible, before next 9.x release?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97697
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #1