[Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208
dominiq at lps dot ens dot fr
gcc-bugzilla@gcc.gnu.org
Thu Sep 16 13:14:00 GMT 2010
------- Comment #10 from dominiq at lps dot ens dot fr 2010-09-16 13:14 -------
(1) The patch in comment #7 fixes this pr without regression.
(2) If I replace
type(t), dimension(1), parameter :: a1 = (/ t(1) /)
type(t), dimension(1), parameter :: a = reshape ( (/ a1 /), (/ 1 /) )
with
type(t), dimension(2), parameter :: a1 = (/ t(1), t(2) /)
type(t), dimension(2), parameter :: c = spread ( a1(1), 1, 1 )
I still get the same ICE.
(3) I have opened pr45689 for transformational intrinsics I think are missing
for initializations.
(4) The only common point between this pr and those given in comment #8 is that
the ICEs come from the same source file.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45081
More information about the Gcc-bugs
mailing list