[Patch, Fortran] PR 34495 - Add -std=f95/f2003 diagnostics for real/float ...
Sun Dec 16 21:25:00 GMT 2007
This fixes the easier part of PR34495:
gfortran -std=f95 allowed REAL(), DBLE() and CMPLX() in initialization
expressions while the Fortran 95 standard does not.
Now, this is properly diagnosed.
Additionally, FLOAT and SNGL were marked as GFC_STD_F77, they are G77
extensions and should thus be marked as GFC_STD_GNU.
Build and regression tested on x86-64-linux with no failures (except for
the old common_6.f90 [PR33375] and ltrans-7.f90 [PR34413]).
OK for the trunk?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Gcc-patches