------- Comment #3 from pault at gcc dot gnu dot org 2008-04-01 20:47 -------
I do not agree that this is a regression. Try
MODULE MODS
INTEGER, PARAMETER, DIMENSION(10) :: A = [(i, i = 1,10)]
INTEGER, PARAMETER, DIMENSION(10) :: B = ISHFTC(3, A, 5) !ICE
END MODULE MODS
on 4.2 or 4.1. It so happens that the scalar initializer for A works because
the array is not expanded. Otherwise, the above fails.
Nonetheless, I'll fix it:)
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.3/4.4 Regression] |internal compiler error for
|internal compiler error for |complicated PARAMETER
|complicated PARAMETER |expressions
|expressions |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35780