]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/15976 (ICE: assertion failure in trans-array.c)
authorPaul Thomas <pault@gcc.gnu.org>
Fri, 11 Nov 2005 04:44:16 +0000 (04:44 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Fri, 11 Nov 2005 04:44:16 +0000 (04:44 +0000)
commita5df14d4e57b9bad4095c48f09f7712fdcaffe14
tree85d233bc91b50f52d627c1a4ab132a7ed7885909
parentf2d186905aff4e0225e37b69a089f334290e806d
re PR fortran/15976 (ICE: assertion failure in trans-array.c)

PR fortran/15976
* resolve.c (resolve_symbol): Disallow automatic arrays in module scope.
* gfortran.dg/automatic_module_variable.f90: New test.

Co-Authored-By: Steven G. Kargl <kargls@comcast.net>
From-SVN: r106777
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/automatic_module_variable.f90 [new file with mode: 0644]