This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30882] size with initialization expression value for dim= is rejected
- 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: 20 Feb 2007 14:04:36 -0000
- Subject: [Bug fortran/30882] size with initialization expression value for dim= is rejected
- References: <bug-30882-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from burnus at gcc dot gnu dot org 2007-02-20 14:04 -------
IF(SIZE(a(1:10),1).NE.10) CALL ABORT()
1
Error: 'dim' argument of 'size' intrinsic at (1) is not a valid dimension index
Compiles just fine with ifort, nagf95 and g95.
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |rejects-valid
Last reconfirmed|0000-00-00 00:00:00 |2007-02-20 14:04:36
date| |
Summary|incorrect error message for |size with initialization
|valid code |expression value for dim= is
| |rejected
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30882