https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91752
Bug ID: 91752
Summary: BOZ constant outside DATA/INT/REAL/DBLE/CMPLX flagged
as error
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: juergen.reuter at desy dot de
Target Milestone: ---
nagfor and ifort do not flag this as an error, but only warn as an extension:
program main
implicit none
integer :: h
h = B"11"
end program main
This has been introduced into gfortran 10 very recently, but breaks many
running codes. Wouldn't you mind turning this into a warning?