This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]