This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/56731] [4.7 Regression] ICE on (wrongly) referencing polymorphic array in select type
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 26 Mar 2013 09:52:13 +0000
- Subject: [Bug fortran/56731] [4.7 Regression] ICE on (wrongly) referencing polymorphic array in select type
- Auto-submitted: auto-generated
- References: <bug-56731-4 at http dot gcc dot gnu dot org/bugzilla/>
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.