[patch, fortran] Remove vestiges of non-working Q exponent.

Brooks Moses brooks.moses@codesourcery.com
Wed Nov 8 21:06:00 GMT 2006


At one time, gfortran apparently supported a quad-precision exponent 
character, 1.0Q0, controlled by a -qkind= option.  It doesn't work, and 
doesn't look like it's worked in years; the option does nothing, and 
using 'Q' for an exponent causes an ICE.  The attached patch removes all 
of the related code.

----------------------------------------------------------------------
2006-11-08  Brooks Moses  <brooks.moses@codesourcery.com>

	* lang.opt: Remove non-working -qkind= option.
	* gfortran.h (gfc_option_t): Remove q_kind member.
	* options.c (gfc_init_options): Remove q_kind initialization.
	(gfc_handle_option): Remove -qkind= option handling.
	* primary.c: (match_real_constant): Remove 'Q' exponent.

----------------------------------------------------------------------

Regression-tested on i686-pc-linux-gnu.  Ok for trunk?  (Since it fixes 
an ICE, should I apply it to 4.2 as well?)

- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qkind-remove.diff
Type: text/x-patch
Size: 1922 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20061108/3758b1bd/attachment.bin>


More information about the Gcc-patches mailing list