https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69368
--- Comment #41 from Wilco <wdijkstr at arm dot com> --- (In reply to Jerry DeLisle from comment #40) > Do you have a reduced test case of the Fortran code we can look at? See comment 13/14, the same common array is declared with different sizes in various places. > I am concerned that you are changing things to accommodate invalid Fortran. > I don't have 416.gamess to look at. I do see your suggested patch touches > the Fortran frontend. Since SPEC does not want to change the invalid Fortran, GCC will have to accomodate for it somehow. > Maybe it needs to be put behind -std=legacy? > > I assume the "(without flag)" means you intend to do something like that? Yes, but it was suggested that -std=legacy wasn't the right flag in comment 35...