[Bug fortran/24706] Accepts non-constant length arrays in derived types

fxcoudert at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jun 3 15:51:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list