public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/57710] [OOP] [F08] _vptr not set for allocatable CLASS component inside BLOCK
Date: Wed, 31 Jul 2013 07:51:00 -0000 [thread overview]
Message-ID: <bug-57710-4-SkieYGmqfW@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-57710-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57710
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[OOP] _vptr not set for |[OOP] [F08] _vptr not set
|allocatable CLASS |for allocatable CLASS
|components |component inside BLOCK
--- Comment #3 from janus at gcc dot gnu.org ---
(In reply to Tobias Burnus from comment #0)
> Additionally, the test case as is (with IF condition), currently crashes
> with:
>
> internal compiler error: in gfc_conv_component_ref, at
> fortran/trans-expr.c:1654
Also the ICE occurs only with the BLOCK construct. Slightly reduced test case:
module m
type t
end type
type t2
class(t), allocatable :: x
end type
end module
use m
type(t) :: z
block
type(t2) :: y
if (.not. same_type_as(y%x, z)) call abort ()
end block
end
next prev parent reply other threads:[~2013-07-31 7:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-57710-4@http.gcc.gnu.org/bugzilla/>
2013-06-25 17:11 ` [Bug fortran/57710] [OOP] _vptr not set for allocatable CLASS components dominiq at lps dot ens.fr
2013-07-31 7:46 ` janus at gcc dot gnu.org
2013-07-31 7:51 ` janus at gcc dot gnu.org [this message]
2013-07-31 19:15 ` [Bug fortran/57710] [OOP] [F08] _vptr not set for allocatable CLASS component inside BLOCK janus at gcc dot gnu.org
2013-08-01 20:40 ` burnus at gcc dot gnu.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-57710-4-SkieYGmqfW@http.gcc.gnu.org/bugzilla/ \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).