This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, Fortran] PR 34495 - Add -std=f95/f2003 diagnostics for real/float ...


Tobias Burnus wrote:
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

This one is easy. OK

Jerry


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]