This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gfortran] PATCH for PR 14059


>   2004-05-18  Steven G. Kargl  <kargls@comcast.net>
>
>   *gfortran.h (gfc_option_t): Add -Wunderflow option.
>   *invoke.texi: Document -Wunderflow and spell check.
>   *lang.opt: Add Wunderflow.
>   *options.c (gfc_init_options,set_Wall): Use it.
>   *primary.c (match_real_constant): Explicitly handle UNDERFLOW. Use
> option. *arith.c
> (gfc_arith_uminus,gfc_arith_plus,gfc_arith_minus,gfc_arith_times,
> gfc_arith_divide,gfc_arith_power,gfc_real2real,gfc_real2complex,
> gfc_complex2real,gfc_complex2complex): ditto
>   *arith.c (common_logarithm): typo in comment

Applied, with the exception of the following hunk, which shouldn't have been 
there.

Paul

@@ -1584,7 +1629,7 @@
          else
            {
              mpf_set_ui (result->value.complex.r, 1);
-             mpf_set_ui (result->value.complex.r, 0);
+             mpf_set_ui (result->value.complex.i, 0);
            }

          break;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]