Commit 55b4742b by Richard Stallman

(flag_allow_single_precision): New variable.

(c_decode_option): Handle -fallow-single-precision.

From-SVN: r5425
parent 0e032109
...@@ -437,6 +437,10 @@ int flag_no_nonansi_builtin; ...@@ -437,6 +437,10 @@ int flag_no_nonansi_builtin;
int flag_traditional; int flag_traditional;
/* Nonzero means to allow single precision math even if we're generally
being traditional. */
int flag_allow_single_precision = 0;
/* Nonzero means to treat bitfields as signed unless they say `unsigned'. */ /* Nonzero means to treat bitfields as signed unless they say `unsigned'. */
int flag_signed_bitfields = 1; int flag_signed_bitfields = 1;
...@@ -537,6 +541,8 @@ c_decode_option (p) ...@@ -537,6 +541,8 @@ c_decode_option (p)
dollars_in_ident = 1; dollars_in_ident = 1;
#endif #endif
} }
else if (!strcmp (p, "-fallow-single-precision"))
flag_allow_single_precision = 1;
else if (!strcmp (p, "-fnotraditional") || !strcmp (p, "-fno-traditional")) else if (!strcmp (p, "-fnotraditional") || !strcmp (p, "-fno-traditional"))
{ {
flag_traditional = 0; flag_traditional = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment