* [Bug testsuite/41700] g++.dg/debug/dwarf2/icf.C
2009-10-14 1:18 [Bug testsuite/41700] New: g++.dg/debug/dwarf2/icf.C danglin at gcc dot gnu dot org
@ 2009-10-14 12:29 ` dave at hiauly1 dot hia dot nrc dot ca
2009-10-14 21:03 ` sje at cup dot hp dot com
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2009-10-14 12:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from dave at hiauly1 dot hia dot nrc dot ca 2009-10-14 12:29 -------
Subject: Re: g++.dg/debug/dwarf2/icf.C
One thing that may be relevant is the PA backend doesn't currently
provide vtable support when generating jumps to thunks.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41700
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug testsuite/41700] g++.dg/debug/dwarf2/icf.C
2009-10-14 1:18 [Bug testsuite/41700] New: g++.dg/debug/dwarf2/icf.C danglin at gcc dot gnu dot org
2009-10-14 12:29 ` [Bug testsuite/41700] g++.dg/debug/dwarf2/icf.C dave at hiauly1 dot hia dot nrc dot ca
@ 2009-10-14 21:03 ` sje at cup dot hp dot com
2009-10-17 0:31 ` ccoutant at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: sje at cup dot hp dot com @ 2009-10-14 21:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from sje at cup dot hp dot com 2009-10-14 21:03 -------
I see failures for this test on IA64 HP-UX and Linux as well.
FAIL: g++.dg/debug/dwarf2/icf.C scan-assembler 0x0.*Vtable slot
FAIL: g++.dg/debug/dwarf2/icf.C scan-assembler 0x1.*Vtable slot
FAIL: g++.dg/debug/dwarf2/icf.C scan-assembler \\.section.*.debug_vcall
--
sje at cup dot hp dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sje at cup dot hp dot com
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-10-14 21:03:06
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41700
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug testsuite/41700] g++.dg/debug/dwarf2/icf.C
2009-10-14 1:18 [Bug testsuite/41700] New: g++.dg/debug/dwarf2/icf.C danglin at gcc dot gnu dot org
2009-10-14 12:29 ` [Bug testsuite/41700] g++.dg/debug/dwarf2/icf.C dave at hiauly1 dot hia dot nrc dot ca
2009-10-14 21:03 ` sje at cup dot hp dot com
@ 2009-10-17 0:31 ` ccoutant at gcc dot gnu dot org
2009-10-20 23:12 ` dave at hiauly1 dot hia dot nrc dot ca
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ccoutant at gcc dot gnu dot org @ 2009-10-17 0:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from ccoutant at gcc dot gnu dot org 2009-10-17 00:30 -------
The insn UID is changed when the call_insn is split, so the vtable slot index
can't be found when it's time to build the vcall table.
--
ccoutant at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |ccoutant at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2009-10-14 21:03:06 |2009-10-17 00:30:53
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41700
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug testsuite/41700] g++.dg/debug/dwarf2/icf.C
2009-10-14 1:18 [Bug testsuite/41700] New: g++.dg/debug/dwarf2/icf.C danglin at gcc dot gnu dot org
` (2 preceding siblings ...)
2009-10-17 0:31 ` ccoutant at gcc dot gnu dot org
@ 2009-10-20 23:12 ` dave at hiauly1 dot hia dot nrc dot ca
2009-10-23 1:44 ` ccoutant at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2009-10-20 23:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from dave at hiauly1 dot hia dot nrc dot ca 2009-10-20 23:12 -------
Subject: Re: g++.dg/debug/dwarf2/icf.C
> The insn UID is changed when the call_insn is split, so the vtable slot index
> can't be found when it's time to build the vcall table.
So, it seems this is a middle-end bug.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41700
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug testsuite/41700] g++.dg/debug/dwarf2/icf.C
2009-10-14 1:18 [Bug testsuite/41700] New: g++.dg/debug/dwarf2/icf.C danglin at gcc dot gnu dot org
` (3 preceding siblings ...)
2009-10-20 23:12 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2009-10-23 1:44 ` ccoutant at gcc dot gnu dot org
2009-10-23 1:46 ` [Bug debug/41700] g++.dg/debug/dwarf2/icf.C ccoutant at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ccoutant at gcc dot gnu dot org @ 2009-10-23 1:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from ccoutant at gcc dot gnu dot org 2009-10-23 01:44 -------
Created an attachment (id=18876)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18876&action=view)
Proposed fix for PR 41700.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41700
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug debug/41700] g++.dg/debug/dwarf2/icf.C
2009-10-14 1:18 [Bug testsuite/41700] New: g++.dg/debug/dwarf2/icf.C danglin at gcc dot gnu dot org
` (4 preceding siblings ...)
2009-10-23 1:44 ` ccoutant at gcc dot gnu dot org
@ 2009-10-23 1:46 ` ccoutant at gcc dot gnu dot org
2009-10-23 18:53 ` sje at cup dot hp dot com
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ccoutant at gcc dot gnu dot org @ 2009-10-23 1:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from ccoutant at gcc dot gnu dot org 2009-10-23 01:46 -------
I'm inclined to classify this as a debug problem rather than middle-end. Does
that seem reasonable?
Steve, could you see if this patch fixes the failure on PA and Itanium?
-cary
--
ccoutant at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|testsuite |debug
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41700
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug debug/41700] g++.dg/debug/dwarf2/icf.C
2009-10-14 1:18 [Bug testsuite/41700] New: g++.dg/debug/dwarf2/icf.C danglin at gcc dot gnu dot org
` (5 preceding siblings ...)
2009-10-23 1:46 ` [Bug debug/41700] g++.dg/debug/dwarf2/icf.C ccoutant at gcc dot gnu dot org
@ 2009-10-23 18:53 ` sje at cup dot hp dot com
2009-10-23 19:56 ` dave at hiauly1 dot hia dot nrc dot ca
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: sje at cup dot hp dot com @ 2009-10-23 18:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from sje at cup dot hp dot com 2009-10-23 18:52 -------
I haven't had a chance to test it on PA yet but it fixes the problem on
Itanium.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41700
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug debug/41700] g++.dg/debug/dwarf2/icf.C
2009-10-14 1:18 [Bug testsuite/41700] New: g++.dg/debug/dwarf2/icf.C danglin at gcc dot gnu dot org
` (6 preceding siblings ...)
2009-10-23 18:53 ` sje at cup dot hp dot com
@ 2009-10-23 19:56 ` dave at hiauly1 dot hia dot nrc dot ca
2009-10-29 18:13 ` ccoutant at gcc dot gnu dot org
2009-12-02 17:21 ` sje at cup dot hp dot com
9 siblings, 0 replies; 11+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2009-10-23 19:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from dave at hiauly1 dot hia dot nrc dot ca 2009-10-23 19:56 -------
Subject: Re: g++.dg/debug/dwarf2/icf.C
> I haven't had a chance to test it on PA yet but it fixes the problem on
> Itanium.
It fixes the test on hppa64-hp-hpux11.11. Will test hppa2.0w-hp-hpux11.11
tonight.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41700
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug debug/41700] g++.dg/debug/dwarf2/icf.C
2009-10-14 1:18 [Bug testsuite/41700] New: g++.dg/debug/dwarf2/icf.C danglin at gcc dot gnu dot org
` (7 preceding siblings ...)
2009-10-23 19:56 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2009-10-29 18:13 ` ccoutant at gcc dot gnu dot org
2009-12-02 17:21 ` sje at cup dot hp dot com
9 siblings, 0 replies; 11+ messages in thread
From: ccoutant at gcc dot gnu dot org @ 2009-10-29 18:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from ccoutant at gcc dot gnu dot org 2009-10-29 18:13 -------
Subject: Bug 41700
Author: ccoutant
Date: Thu Oct 29 18:13:27 2009
New Revision: 153719
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153719
Log:
gcc/ChangeLog:
PR debug/41700
* dwarf2out.c (dwarf2_debug_hooks): Add entries for new hook (two
locations in the source).
(store_vcall_insn): New function.
(lookup_vcall_insn): New function.
(dwarf2out_virtual_call_token): Use store_vcall_insn.
(dwarf2out_copy_call_info): New function.
(dwarf2out_virtual_call): Use lookup_vcall_insn.
* emit-rtl.c (try_split): Call copy_call_info debug hook.
* debug.h (struct gcc_debug_hooks): Add copy_call_info hook.
* debug.c (do_nothing_debug_hooks): Add dummy entry for new hook.
(debug_nothing_rtx_rtx): New dummy hook.
* dbxout.c (dbx_debug_hooks): Add dummy entry for new hook.
(xcoff_debug_hooks): Likewise.
* sdbout.c (sdb_debug_hooks): Likewise.
* vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dbxout.c
trunk/gcc/debug.c
trunk/gcc/debug.h
trunk/gcc/dwarf2out.c
trunk/gcc/emit-rtl.c
trunk/gcc/sdbout.c
trunk/gcc/vmsdbgout.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41700
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug debug/41700] g++.dg/debug/dwarf2/icf.C
2009-10-14 1:18 [Bug testsuite/41700] New: g++.dg/debug/dwarf2/icf.C danglin at gcc dot gnu dot org
` (8 preceding siblings ...)
2009-10-29 18:13 ` ccoutant at gcc dot gnu dot org
@ 2009-12-02 17:21 ` sje at cup dot hp dot com
9 siblings, 0 replies; 11+ messages in thread
From: sje at cup dot hp dot com @ 2009-12-02 17:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from sje at cup dot hp dot com 2009-12-02 17:20 -------
This bug appears to be fixed on all my PA and IPF targets.
Closing out as fixed.
--
sje at cup dot hp dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41700
^ permalink raw reply [flat|nested] 11+ messages in thread