public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/47082] [4.6 Regression] [OOP] ICE in gfc_conv_component_ref
Date: Tue, 01 Feb 2011 10:00:00 -0000 [thread overview]
Message-ID: <bug-47082-4-zp1WYrI88n@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-47082-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47082
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pault at gcc dot gnu.org
--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> 2011-02-01 10:00:14 UTC ---
(In reply to comment #3)
> (In reply to comment #2)
> > This does not solve the problem fully, but it reduces it to PR46448:
> >
> > /tmp/cc9UG1CN.s: Assembler messages:
> > /tmp/cc9UG1CN.s:65: Error: symbol `__copy_m0_t0_' is already defined
>
> After PR46448 is solved now, the patch fully fixes the test case. Still it
> feels a bit hackish.
Not entirely:
If you change the line in module m1 from-
class(t0), pointer, private :: idxmap
to
type(t0), pointer, private :: idxmap
then the reduced testcase of comment #1 compiles. Comparing themain programme
between the two, you will see a symtree '@2' in the failing case that points to
the vtype, '__vtype_m0_T0'. I would guess that this has no backend_decl.
Calling gfc_get_derived_type then associates (I think) the backend_decls with
that of the symtree '__vtype_m0_T0', which is somehow pointing to a different
symbol.
I will explore further at lunchtime.
Paul
next prev parent reply other threads:[~2011-02-01 10:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-28 20:00 [Bug fortran/47082] New: " sfilippone at uniroma2 dot it
2010-12-28 21:05 ` [Bug fortran/47082] " janus at gcc dot gnu.org
2010-12-29 15:59 ` janus at gcc dot gnu.org
2011-01-04 13:28 ` janus at gcc dot gnu.org
2011-01-04 13:31 ` [Bug fortran/47082] [4.6 Regression] " janus at gcc dot gnu.org
2011-01-14 14:24 ` rguenth at gcc dot gnu.org
2011-01-17 19:03 ` jakub at gcc dot gnu.org
2011-02-01 10:00 ` pault at gcc dot gnu.org [this message]
2011-02-01 22:32 ` pault at gcc dot gnu.org
2011-02-02 19:51 ` pault at gcc dot gnu.org
2011-02-02 19:52 ` pault 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-47082-4-zp1WYrI88n@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).