* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118614
138bc75d-0d04-0410-961f-
82ee72b054a4
+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.
+
2006-11-08 Tobias Burnus <burnus@net-b.de>
* gfortran.texi: Add volatile and internal-file
int flag_d_lines;
int flag_openmp;
- int q_kind;
-
int fpe;
int warn_std;
Fortran
Treat the input file as preprocessed
-qkind=
-Fortran RejectNegative Joined UInteger
--qkind=<n> Set the kind for a real with the 'q' exponent to 'n'
-
ffpe-trap=
Fortran RejectNegative JoinedOrMissing
-ffpe-trap=[..] Stop on following floating point exceptions
gfc_option.flag_d_lines = -1;
gfc_option.flag_openmp = 0;
- gfc_option.q_kind = gfc_default_double_kind;
-
gfc_option.fpe = 0;
/* Argument pointers cannot point to anything
gfc_option.max_identifier_length = value;
break;
- case OPT_qkind_:
- if (gfc_validate_kind (BT_REAL, value, true) < 0)
- gfc_fatal_error ("Argument to -fqkind isn't a valid real kind");
- gfc_option.q_kind = value;
- break;
-
case OPT_fdefault_integer_8:
gfc_option.flag_default_integer = value;
break;
kind = gfc_default_double_kind;
break;
- case 'q':
- if (kind != -2)
- {
- gfc_error
- ("Real number at %C has a 'q' exponent and an explicit kind");
- goto cleanup;
- }
- kind = gfc_option.q_kind;
- break;
-
default:
if (kind == -2)
kind = gfc_default_real_kind;