This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran] Add -std=
- From: Feng Wang <wf_cs at yahoo dot com>
- To: Paul Brook <paul at codesourcery dot com>, fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 5 Jan 2004 09:53:26 +0800 (CST)
- Subject: Re: [gfortran] Add -std=
> Index: gcc/fortran/resolve.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/fortran/Attic/resolve.c,v
> retrieving revision 1.1.2.14
> diff -u -p -r1.1.2.14 resolve.c
> --- gcc/fortran/resolve.c 1 Jan 2004 22:22:31 -0000 1.1.2.14
> +++ gcc/fortran/resolve.c 4 Jan 2004 12:22:33 -0000
> @@ -2939,8 +2939,9 @@ resolve_branch (gfc_st_label * label, gf
> break;
>
> if (stack == NULL)
> - gfc_error ("GOTO at %L cannot jump to END of construct at %L",
> - &found->loc, &code->loc);
> + gfc_notify_std (GFC_STD_F95_DEL,
> + "Obsolete: GOTO at %L jumps to END of construct at %L",
> + &found->loc, &code->loc);
I think &found->loc and &code->loc are backwards. The order of them should be
interchanged.
> }
> }
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com