[Bug fortran/45092] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:5016
kargl at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jul 27 06:15:00 GMT 2010
------- Comment #7 from kargl at gcc dot gnu dot org 2010-07-27 06:15 -------
(In reply to comment #5)
> From the error location it looks like a duplicate of PR 44857.
>
Yes, I think you're right. I've reduced it further in
comment #6. The code compiles if the array constructor is
changed. That is, this compiles
MODULE FunctionTypes
IMPLICIT NONE
integer, parameter :: OpconNameLength = 4
TYPE, PUBLIC :: TTermDefinition
CHARACTER (OpconNameLength) :: termName(2)
END TYPE TTermDefinition
TYPE (TTermDefinition), PARAMETER :: e = TTermDefinition ([" ", " "])
end module FunctionTypes
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45092
More information about the Gcc-bugs
mailing list