[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-bugs
Subject: [Bug fortran/64124] New: [F95] Valid constant expr rejected
From: "fxcoudert at gcc dot gnu.org" <gcc-bugzilla () gcc ! gnu ! org>
Date: 2014-11-30 12:36:39
Message-ID: bug-64124-4 () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64124
Bug ID: 64124
Summary: [F95] Valid constant expr rejected
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: fxcoudert at gcc dot gnu.org
$ cat a.f90
character(len=kind(1)) x
integer(len(x)) y
end
$ gfortran a.f90 -std=f95
a.f90:2.14:
integer(len(x)) y
1
Error: Parameter 'x' at (1) has not been declared or is a variable, which does
not reduce to a constant expression
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic