This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]