[Bug fortran/48720] quad precision literals do not work
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed May 4 19:26:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48720
--- Comment #10 from kargl at gcc dot gnu.org 2011-05-04 19:18:04 UTC ---
Author: kargl
Date: Wed May 4 19:18:01 2011
New Revision: 173392
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173392
Log:
2011-05-04 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:
branches/gcc-4_6-branch/gcc/fortran/ChangeLog
branches/gcc-4_6-branch/gcc/fortran/gfortran.h
branches/gcc-4_6-branch/gcc/fortran/gfortran.texi
branches/gcc-4_6-branch/gcc/fortran/invoke.texi
branches/gcc-4_6-branch/gcc/fortran/lang.opt
branches/gcc-4_6-branch/gcc/fortran/options.c
branches/gcc-4_6-branch/gcc/fortran/primary.c
More information about the Gcc-bugs
mailing list