[Patch, fortran] PR40402 - Problem with data statement involving structure constructors containing non-initialisation expressions

Paul Richard Thomas paul.richard.thomas@gmail.com
Thu Jun 11 20:00:00 GMT 2009


Dear All,

It's surprising that bugs like this still exist but quite rewarding
when they turn up:-)

Bootstrapped and regtested on FC9/x86_64 - OK for trunk?

Paul


2009-06-10  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/40402
	* resolve.c (next_data_value): It is an error if the value is
	not constant.

2009-06-10  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/40402
	* gfortran.dg/data_value_1.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: text/x-patch
Size: 1183 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20090611/ed8df243/attachment.bin>


More information about the Fortran mailing list