public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [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
@ 2011-05-19 12:29 ro at gcc dot gnu.org
  2011-05-19 12:36 ` [Bug middle-end/49062] " ro at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2011-05-19 12:29 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug middle-end/49062] [4.7 regression] Many C++ tests ICE on Tru64 UNIX: non-DECL_ONE_ONLY node in a same_comdat_group list
  2011-05-19 12:29 [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 ro at gcc dot gnu.org
@ 2011-05-19 12:36 ` 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
  2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2011-05-19 12:36 UTC (permalink / raw)
  To: gcc-bugs

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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug middle-end/49062] [4.7 regression] Many C++ tests ICE on Tru64 UNIX: non-DECL_ONE_ONLY node in a same_comdat_group list
  2011-05-19 12:29 [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 ro at gcc dot gnu.org
  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
  2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2011-05-25 11:04 UTC (permalink / raw)
  To: gcc-bugs

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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                URL|                            |http://gcc.gnu.org/ml/gcc-p
                   |                            |atches/2011-05/msg01817.htm
                   |                            |l
         Resolution|                            |FIXED

--- Comment #2 from Rainer Orth <ro at gcc dot gnu.org> 2011-05-25 10:45:14 UTC ---
Fixed for 4.7.0.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug middle-end/49062] [4.7 regression] Many C++ tests ICE on Tru64 UNIX: non-DECL_ONE_ONLY node in a same_comdat_group list
  2011-05-19 12:29 [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 ro at gcc dot gnu.org
  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
  2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2011-05-25 11:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> 2011-05-25 10:20:16 UTC ---
Author: ro
Date: Wed May 25 10:20:12 2011
New Revision: 174180

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174180
Log:
2011-05-25  Jan Hubicka  <jh@suse.cz>

    PR middle-end/49062
    * ipa.c (function_and_variable_visibility): Only add to same
    comdat group list if DECL_ONE_ONLY.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa.c


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-25 11:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-19 12:29 [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 ro at gcc dot gnu.org
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

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).