https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99204
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW CC| |anlauf at gcc dot gnu.org --- Comment #4 from anlauf at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #2) > WORKSFORME: > > % gfc pr99204.f90 The issue really depends on optimization. Confirmed for all tested -O greater than -O0: -Og, -O, -Os, -O2, -O3. It disappears when declaring i volatile, as in integer, volatile :: i = -12345678