[Bug fortran/56731] [4.7 Regression] ICE on (wrongly) referencing polymorphic array in select type

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 26 09:52:00 GMT 2013


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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-03-26
                 CC|                            |janus at gcc dot gnu.org
            Summary|[Fortran 4.7] ICE on        |[4.7 Regression] ICE on
                   |(wrongly) referencing       |(wrongly) referencing
                   |polymorphic array in select |polymorphic array in select
                   |type                        |type
     Ever Confirmed|0                           |1

--- Comment #1 from janus at gcc dot gnu.org 2013-03-26 09:52:13 UTC ---
I can confirm the ICE with 4.7. Trunk gives:

    select type(an => carr%c)
                      1
Error: Component to the right of a part reference with nonzero rank must not
have the ALLOCATABLE attribute at (1)

I have not checked 4.6.



More information about the Gcc-bugs mailing list