public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/49062] New: [4.7 regression] Many C++ tests ICE on Tru64 UNIX: non-DECL_ONE_ONLY node in a same_comdat_group list
Date: Thu, 19 May 2011 12:29:00 -0000	[thread overview]
Message-ID: <bug-49062-4@http.gcc.gnu.org/bugzilla/> (raw)

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49062

           Summary: [4.7 regression] Many C++ tests ICE on Tru64 UNIX:
                    non-DECL_ONE_ONLY node in a same_comdat_group list
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ro@gcc.gnu.org
                CC: hubicka@gcc.gnu.org
              Host: alpha-dec-osf5.1b
            Target: alpha-dec-osf5.1b
             Build: alpha-dec-osf5.1b


Between 20110502 and 20110518, many C++ tests stated to ICE on Tru64 UNIX
(Alpha/ECOFF without COMDAT support), e.g.

FAIL: g++.dg/torture/covariant-1.C  -O0  (internal compiler error)
FAIL: g++.dg/torture/covariant-1.C  -O0  (test for excess errors)
Excess errors:
/vol/gcc/src/hg/trunk/local/gcc/testsuite/g++.dg/torture/covariant-1.C:33:1:
error: non-DECL_ONE_ONLY node in a same_comdat_group list
AB* AB::_ZTchn8_h8_N2AB7getThisEv()/4 @166940 (asm: _ZTchn8_h8_N2AB7getThisEv)
(same comdat group as AB* AB::_ZTch0_h8_N2AB7getThisEv()/3)
availability:available analyzed needed address_taken externally_visible
finalized asm_written
  thunk of AB* AB::_ZTch0_h8_N2AB7getThisEv() (asm: _ZTch0_h8_N2AB7getThisEv)
fixed offset -8 virtual value 0 has virtual offset 0)
  called by: 
  calls: AB* AB::_ZTch0_h8_N2AB7getThisEv()/3 (1.00 per call) 
  References: 
  Refering this function:  var:int (* AB::_ZTV2AB [6])(...) (addr)
/vol/gcc/src/hg/trunk/local/gcc/testsuite/g++.dg/torture/covariant-1.C:33:1:
internal compiler error: verify_cgraph_node failed

This is almost certainly due to this patch:

2011-05-06  Jan Hubicka  <jh@suse.cz>

    * cgraph.c (cgraph_add_thunk): Create real function node instead
    of alias node; finalize it and mark needed/reachale; arrange visibility
    to be right and add it into the corresponding same comdat group list.
    (dump_cgraph_node): Dump thunks.

Please fix.

  Rainer


             reply	other threads:[~2011-05-19 12:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-19 12:29 ro at gcc dot gnu.org [this message]
2011-05-19 12:36 ` [Bug middle-end/49062] " ro at gcc dot gnu.org
2011-05-25 11:04 ` ro at gcc dot gnu.org
2011-05-25 11:52 ` ro 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-49062-4@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).