This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996
- 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: 8 Jul 2010 18:23:53 -0000
- Subject: [Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996
- References: <bug-44857-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from dfranke at gcc dot gnu dot org 2010-07-08 18:23 -------
(In reply to comment #3)
> Notes:
> * the vatiable 'tt' must be used, if not used only a warning is printed, no
> ICE
> * doing the same with INTEGER instead of CHARACTER works
> * explicitly assigning the txt component instead of using the structure
> constructor works
* if the string lengths of component and constructor match, then the
compilation completes successfully as well
I'd hazard the guess that some string length is not properly copied somewhere.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857