This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Mar 2008 20:45:37 -0000
- Subject: [Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration
- References: <bug-35680-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pault at gcc dot gnu dot org 2008-03-25 20:45 -------
g95 correctly gives:
In file pr35680.f90:5
integer foo(size(transfer(x, [1])))
1
Error: Variable 'x' cannot appear in restricted expression at (1)
Lahey gives:
1175-S: "SOURCE.F90", line 5, column 13: Lower and upper bounds in array
specifier for 'foo' must be specification expression.
Confirmed
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-03-25 20:45:37
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35680