------- Comment #1 from kargl at gcc dot gnu dot org  2006-07-26 19:15 -------
First, you'll want to upgrade to at least 4.1.1 form 4.0.2.

Second, yes, it appears to be a bug.  These lines work as expected.

integer, dimension(6), parameter :: y=(/ a(1:3), b(1:3) /)
integer, dimension(6), parameter :: y=(/ a, b /)

It appears the (:) in a(:) and b(:) is not handled correctly.

I haven't looked into the implicit do loop method.


-- 

kargl at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28496

Reply via email to