This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47680] [OOP] ICE with polymorphic array elements as dummy
- From: "mikael at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 15 Jan 2013 21:43:32 +0000
- Subject: [Bug fortran/47680] [OOP] ICE with polymorphic array elements as dummy
- Auto-submitted: auto-generated
- References: <bug-47680-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47680
Mikael Morin <mikael at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikael at gcc dot gnu.org
Known to work| |4.8.0
--- Comment #3 from Mikael Morin <mikael at gcc dot gnu.org> 2013-01-15 21:43:32 UTC ---
The ICE is gone in 4.8.0:
:11.20:
class(t) :: a(*)
1
Error: Assumed size polymorphic objects or components, such as that at (1),
have not yet been implemented
:8.11:
call foo(x(1)) ! <<<<< ICE
1
Error: Type mismatch in argument 'a' at (1); passed CLASS(t) to REAL(4)