This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/45681] internal compiler error: in make_decl_rtl, at varasm.c:1297
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Sep 2010 18:30:49 -0000
- Subject: [Bug fortran/45681] internal compiler error: in make_decl_rtl, at varasm.c:1297
- References: <bug-45681-19692@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from kargl at gcc dot gnu dot org 2010-09-15 18:30 -------
Thanks for the bug report. The problem appears to be fixed in
gcc version 4.6.0 20100913 (experimental) (GCC)
and
gcc version 4.5.1 20100728 (prerelease) (GCC).
It is unlikely that this will be fixed in 4.4.x because
it does not appear to be a regression. The code has the
same failure in 4.2.x and 4.3.x. If it is possible to
upgrade to 4.5.x, then I suggest that route.
A possible work around is to change the declaration of
'character*(n) c' to 'character*(*) c'.
I'll leave the bug report open for a few days to see
if one of the other gfortran developers has a quick
fix, but I think this problem is going to be caught
by insufficient man power to fixed it.
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45681