This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: [4.3/4.4 Regression] Wrong locus for errors in DATA statement


Paul Richard Thomas wrote:
it was much simpler to substitute the rvalue locus by that
of the lvaue in the error message.  The testcase is the reporter's.

Bootstrapped and regtested on x86_ia64/FC8 - OK for trunk and 4.3?
OK for 4.4 and 4.3. Thanks for the patch. (Having the RHS location would be nicer, but it is much better than 4.2 or 4.3/4.4.)

Tobias

Paul

2008-06-18 Paul Thomas <pault@gcc.gnu.org>

	PR fortran/34371
	* expr.c (gfc_check_assign):  Change message and locus for
	error when conform == 0.

2008-06-18 Paul Thomas <pault@gcc.gnu.org>

PR fortran/36371
* gfortran.dg/data_array_5.f90: New test.


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