https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88052
--- Comment #7 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- (In reply to harper from comment #5) > The error I found is not just violating a constraint in f2008 or above. > The same constraint with different wording is in f2003, f95 and f90. > If you want to allow any constraint violations I think that should be an > option, not the default. > The syntax of if (compile_options.warn_std == 0) + goto format_item_1; Is a little obscure, but basicallly the goto is performed only if a user specifies -std=legacy. For anything else including not specifying any -std= or the default, the error is given. (as noted by Steve)