[Patch, Fortran] PR 34495 - Add -std=f95/f2003 diagnostics for real/float ...
Tobias Burnus
burnus@net-b.de
Sun Dec 16 21:17: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?
Tobias
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: init-real.diff
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20071216/94d276f8/attachment.ksh>
More information about the Fortran
mailing list