[patch, fortran] PR32331 - improve error message

Daniel Franke franke.daniel@gmail.com
Wed May 5 19:13:00 GMT 2010


Hi all.

This is a simple one. The message

	Error: iterator end at (1) does not simplify

is not exactly easy to grasp at first. Attached patch rephrases this a bit to

	Error: start of implied-do loop at (1) could not be
	simplified to a constant value

No testcase as it only changes the wording of the error, no functionality.


2010-05-05  Daniel Franke  <franke.daniel@gmail.com>

	* resolve.c (traverse_data_list): Rephrase error message for
	non-constant bounds in data-implied-do.


Regression tested on i686-pc-linux-gnu.

Ok for trunk?

	Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr32331.diff
Type: text/x-patch
Size: 2297 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100505/c88e8d52/attachment.bin>


More information about the Fortran mailing list