This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran] PATCH for PR 14059
- From: Paul Brook <paul at codesourcery dot com>
- To: fortran at gcc dot gnu dot org
- Cc: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>,gcc-patches at gcc dot gnu dot org
- Date: Sat, 22 May 2004 12:03:37 +0100
- Subject: Re: [gfortran] PATCH for PR 14059
- Organization: CodeSourcery
- References: <20040518215028.GA34696@troutmask.apl.washington.edu>
> 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;