This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/24706] Accepts non-constant length arrays in derived types
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jun 2006 15:51:41 -0000
- Subject: [Bug fortran/24706] Accepts non-constant length arrays in derived types
- References: <bug-24706-87@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from fxcoudert at gcc dot gnu dot org 2006-06-03 15:51 -------
Appears to be fixed on mainline and 4.1:
$ gfortran -c pr25706.f90
In file pr25706.f90:4
integer :: x (n)
1
Error: Component 'x' of 'bar' at (1) must have constant array bounds.
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fxcoudert at gcc dot gnu dot
| |org
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24706