This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/40018] [4.4/4.5 Regression] ICE in output_constructor
- 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: 7 May 2009 04:44:39 -0000
- Subject: [Bug fortran/40018] [4.4/4.5 Regression] ICE in output_constructor
- References: <bug-40018-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pault at gcc dot gnu dot org 2009-05-07 04:44 -------
(In reply to comment #5)
> The patch in comment #4 fixes this pr, but gives:
>
> .*: internal compiler error: in fold_convert, at fold-const.c:2551
Yes... I went to bed when the regression test started spewing out the errors.
The fix is easy... I think :-) The type must be checked for not being a
character type before doing the fold_convert.
It's regtesting right now.
Cheers
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40018