This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r173285 - in /trunk/gcc/fortran: ChangeLog gfor...
- From: kargl at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 03 May 2011 01:23:47 -0000
- Subject: r173285 - in /trunk/gcc/fortran: ChangeLog gfor...
Author: kargl
Date: Tue May 3 01:23:46 2011
New Revision: 173285
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173285
Log:
2011-05-02 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/48720
* gfortran.texi: Document the 'Q' exponent-letter extension.
* invoke.texi: Document -Wreal-q-constant.
* lang.opt: Add -Wreal-q-constant option.
* gfortran.h: Add warn_real_q_constant to option struct.
* primary.c (match_real_constant): Use it. Accept 'Q' as
exponent-letter for REAL(16) real-literal-constant with a
fallback to REAL(10) or error if REAL(10) is not available.
* options.c (gfc_init_options, set_Wall) Set it.
(gfc_handle_option): Handle new option.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/gfortran.h
trunk/gcc/fortran/gfortran.texi
trunk/gcc/fortran/invoke.texi
trunk/gcc/fortran/lang.opt
trunk/gcc/fortran/options.c
trunk/gcc/fortran/primary.c