https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111454
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Dup of bug 111435. (In reply to David Binderman from comment #2) > (In reply to Andrew Pinski from comment #1) > > This is either a dup of bug 111435 or bug 111442 > > Plausible. I saw the following strange behaviour: > > $ ~/gcc/results/bin/gcc -c -O1 bug958B.c > gcc: internal compiler error: Segmentation fault signal terminated program > cc1 > Please submit a full bug report, with preprocessed source (by using > -freport-bug). > See <https://gcc.gnu.org/bugs/> for instructions. > $ ~/gcc/results/bin/gcc -c -O2 bug958B.c > $ That seems like a different issue which should be filed seperately. But that comes down to somehow the attribute optimize is not setting optimize correctly. Fre pass does: /* At -O[1g] use the cheap non-iterating mode. */ bool iterate_p = may_iterate && (optimize > 1); *** This bug has been marked as a duplicate of bug 111435 ***