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