This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33297] SIZE intrinsic crashes gfortran on invalid usage
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Sep 2007 15:25:37 -0000
- Subject: [Bug fortran/33297] SIZE intrinsic crashes gfortran on invalid usage
- References: <bug-33297-15061@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from burnus at gcc dot gnu dot org 2007-09-04 15:25 -------
> integer array(5), i1, i2
> print *, size(array,(/i1,i2/))
13.7.112 SIZE (ARRAY [, DIM, KIND])
ARRAY may be of any type. It shall not be scalar.
DIM (optional) shall be scalar and of type integer
KIND (optional) shall be a scalar integer initialization expression.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33297