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] 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 


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