This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gfortran, patch for PR 20788
- From: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- To: coudert at lcp dot u-psud dot fr
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sun, 10 Apr 2005 12:18:27 +0200
- Subject: Re: gfortran, patch for PR 20788
- References: <1113124790.4258efb686970@webmail.lcp.u-psud.fr>
coudert@lcp.u-psud.fr wrote:
> Regtested on i686-linux. OK for mainline?
No, because you're allowing signs in the middle of the number.
> @@ -109,7 +109,7 @@ init_integer (variable * v)
> goto set_default;
>
> for (q = p; *q; q++)
> - if (!isdigit (*q))
> + if (!isdigit (*q) && *q != '-')
> {
> v->bad = 1;
> goto set_default;
With that fixed this is ok (supposed negative unit numbers don't work, I
remember you had a patch for that a few days ago?)
- Tobi