------- Comment #5 from dominiq at lps dot ens dot fr 2009-05-06 21:43 ------- The patch in comment #4 fixes this pr, but gives:
.*: internal compiler error: in fold_convert, at fold-const.c:2551 in 83 of my tests, for instance [ibook-dhum] f90/bug% cat pr36257.f90 implicit none character(len=5), dimension(3,3), parameter :: & p = reshape(["", "", "", "", "", "", "", "", ""], [3,3]) character(len=5), dimension(3,3) :: m1 m1 = p if (any (spread (p, 1, 2) /= spread (m1, 1, 2))) call abort end I did not review all the cases, but all those I have looked at deal with constructor+strings. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40018