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] Fix undue compile-time error message


On Mon, Jun 19, 2006 at 08:19:57PM +0200, FX Coudert wrote:
> >Regtested on i686-linux, comes with a testcase. OK for mainline and 4.1?
> 
> In fact, one of our testcases needs to be updated for the new error 
> message, so here is the complete patch. Sorry.
> 
> FX

> 2006-06-19  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
> 
> 	PR fortran/28081
> 	* resolve.c (resolve_substring): Don't issue out-of-bounds
> 	error messages when the range has zero size.
> 
> 
> 2006-06-19  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
> 
> 	PR fortran/28081
> 	* gfortran.dg/substr_3.f: New test.
> 	* gfortran.dg/equiv_2.f90: Update expected error message.

OK

-- 
Steve


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