https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113254
Bug ID: 113254 Summary: Option -fallow-invalid-boz does not help with sample code Product: gcc Version: 11.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: xecej4 at outlook dot com Target Milestone: --- Created attachment 56999 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56999&action=edit Fortran program to illustrate no benefit from -fallow-invalid-boz The -fallow-invalid-boz option is described to have this purpose: "... allows a BOZ literal constant to appear where the Fortran standard would otherwise prohibit its use". The option appears to have no effect on the attached test program, and the error message is the same with or without -fallow-invalid-boz. (I am also using -fmax-errors=1.)