This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31306] ICE with implicit character variables
- From: "dfranke 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 Jun 2007 11:43:07 -0000
- Subject: [Bug fortran/31306] ICE with implicit character variables
- References: <bug-31306-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from dfranke at gcc dot gnu dot org 2007-06-25 11:43 -------
The problem of the cyclic definition is (more or less), the same described in
PR24886, isn't it? E.g. replace
implicit character(len(ouch)) (x)
implicit character(len(x)+1) (y)
intent(in) x,y
by
character(len=*), intent(in) :: x ! or character(len=n), n integer
character(len=len(x)+1), intent(in) :: y
to get a working binary. My meaning: "len(ouch)" is not known when defining the
length of the dummy argument x, thus it is a length that's different from the
actual length.
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dfranke at gcc dot gnu dot
| |org
OtherBugsDependingO| |19276
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31306