This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/55427] [OOP] ICE with class-array-pointer result
- 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: Wed, 21 Nov 2012 16:52:56 +0000
- Subject: [Bug fortran/55427] [OOP] ICE with class-array-pointer result
- Auto-submitted: auto-generated
- References: <bug-55427-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55427
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Keywords| |ice-on-valid-code
Last reconfirmed| |2012-11-21
CC| |janus at gcc dot gnu.org,
| |pault at gcc dot gnu.org
Ever Confirmed|0 |1
Summary|ICE class pointer |[OOP] ICE with
| |class-array-pointer result
--- Comment #1 from janus at gcc dot gnu.org 2012-11-21 16:52:56 UTC ---
(In reply to comment #0)
> Is that known?
Not that I know of. Reduced version:
MODULE base_types
IMPLICIT NONE
TYPE :: base_type
END TYPE
contains
FUNCTION points_to () RESULT (reslt)
CLASS(base_type), DIMENSION(:), POINTER :: reslt
END FUNCTION
END MODULE
program bug
use base_types
implicit none
CLASS(base_type), POINTER, DIMENSION(:) :: reslt
reslt => points_to()
end
ICEs with trunk and 4.7.