[patch, fortran] PR41940 - allocating scalars with shape
Daniel Franke
franke.daniel@gmail.com
Sun Dec 6 14:15:00 GMT 2009
gcc/fortran:
2009-12-06 Daniel Franke <franke.daniel@gmail.com>
PR fortran/41940
* match.c (gfc_match_allocate): Improved error message for
allocatable scalars that are allocated with a shape.
gcc/testsuite:
2009-12-06 Daniel Franke <franke.daniel@gmail.com>
PR fortran/41940
* gfortran.dg/allocate_scalar_with_shape.f90: New.
Regression tested on i686-pc-linux-gnu. Ok for trunk?
Cheers
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allocate_scalar_with_shape.f90
Type: text/x-fortran
Size: 291 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20091206/ce204431/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr41940.diff
Type: text/x-patch
Size: 431 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20091206/ce204431/attachment-0001.bin>
More information about the Fortran
mailing list