* [Bug debug/15736] [3.5 Regression] internal compiler error: in force_decl_die, at dwarf2out.c:12441
2004-05-31 19:00 [Bug c++/15736] New: internal compiler error: in force_decl_die, at dwarf2out.c:12441 carlo at gcc dot gnu dot org
@ 2004-05-31 19:04 ` pinskia at gcc dot gnu dot org
2004-05-31 19:08 ` carlo at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-31 19:04 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-30 19:46 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Status|UNCONFIRMED |NEW
Component|c++ |debug
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Known to fail| |3.5.0
Known to work| |3.4.0
Last reconfirmed|0000-00-00 00:00:00 |2004-05-30 19:46:08
date| |
Summary|internal compiler error: in |[3.5 Regression] internal
|force_decl_die, at |compiler error: in
|dwarf2out.c:12441 |force_decl_die, at
| |dwarf2out.c:12441
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15736
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/15736] [3.5 Regression] internal compiler error: in force_decl_die, at dwarf2out.c:12441
2004-05-31 19:00 [Bug c++/15736] New: internal compiler error: in force_decl_die, at dwarf2out.c:12441 carlo at gcc dot gnu dot org
2004-05-31 19:04 ` [Bug debug/15736] [3.5 Regression] " pinskia at gcc dot gnu dot org
@ 2004-05-31 19:08 ` carlo at gcc dot gnu dot org
2004-06-17 10:06 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: carlo at gcc dot gnu dot org @ 2004-05-31 19:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From carlo at gcc dot gnu dot org 2004-05-30 19:52 -------
A slightly simpler test case:
struct B {
int n;
};
struct A : B {
using B::n;
};
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15736
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/15736] [3.5 Regression] internal compiler error: in force_decl_die, at dwarf2out.c:12441
2004-05-31 19:00 [Bug c++/15736] New: internal compiler error: in force_decl_die, at dwarf2out.c:12441 carlo at gcc dot gnu dot org
2004-05-31 19:04 ` [Bug debug/15736] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-05-31 19:08 ` carlo at gcc dot gnu dot org
@ 2004-06-17 10:06 ` pinskia at gcc dot gnu dot org
2004-06-19 19:29 ` dpatel at apple dot com
` (3 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-17 10:06 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-17 10:06 -------
Devang Patel, can you look into this as I think this is caused by your patch:
2004-01-27 Devang Patel <dpatel@apple.com>
* Makefile.in (dwarf2out.o): Depend on input.h
* dbxout.c (dbx_debug_hooks): Add new empty hook for
imported_module_or_decl.
(xcoff_debug_hooks): Same.
* sdbout.c (sdb_debug_hooks): Same.
* vmsdbgout.c (vmsdbg_debug_hooks): Same.
* debug.c (do_nothing_debug_hooks): Same.
(debug_nothing_tree_tree): New function.
* debug.h (gcc_debug_hooks): New hook, imported_module_or_decl.
* dwarf2out.c: Include input.h.
(dwarf2_debug_hooks): Add new hook for imported_module_or_decl.
(remove_child_TAG): New function.
(dwarf_tag_name): Handle DW_TAG_imported_module.
(gen_subprogram_die): Equate decl number to declaration die. Do not
remove all children dies while reusing declaration die for definition.
Instead, selectively remove only formal parameters.
(gen_variable_die): Equate variable decl to declaration die.
(gen_field_die): Equate field decl to line number.
(force_namespace_die): Replace it with ...
(force_decl_die): ... this.
(force_type_die): New function.
(setup_namespace_context): Replace use of force_namespace_die() with
force_decl_die().
(gen_namespace_die): Same.
(dwarf2out_imported_module_or_decl): New function.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dpatel at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15736
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/15736] [3.5 Regression] internal compiler error: in force_decl_die, at dwarf2out.c:12441
2004-05-31 19:00 [Bug c++/15736] New: internal compiler error: in force_decl_die, at dwarf2out.c:12441 carlo at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-06-17 10:06 ` pinskia at gcc dot gnu dot org
@ 2004-06-19 19:29 ` dpatel at apple dot com
2004-06-19 19:33 ` Andrew Pinski
2004-06-19 19:31 ` dpatel at apple dot com
` (2 subsequent siblings)
6 siblings, 1 reply; 9+ messages in thread
From: dpatel at apple dot com @ 2004-06-19 19:29 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dpatel at apple dot com 2004-06-19 19:29 -------
If following patch is reverted than it fixes this ICE.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15736
But that patch was applied to fix Ada bootstrap. Andrew, do you have Ada setup to see if this patches
still causes trouble with Ada?
Thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15736
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/15736] [3.5 Regression] internal compiler error: in force_decl_die, at dwarf2out.c:12441
2004-05-31 19:00 [Bug c++/15736] New: internal compiler error: in force_decl_die, at dwarf2out.c:12441 carlo at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-06-19 19:29 ` dpatel at apple dot com
@ 2004-06-19 19:31 ` dpatel at apple dot com
2004-06-19 19:33 ` pinskia at physics dot uc dot edu
2004-09-03 17:20 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 9+ messages in thread
From: dpatel at apple dot com @ 2004-06-19 19:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dpatel at apple dot com 2004-06-19 19:31 -------
Oops. I meant following patch
http://gcc.gnu.org/ml/gcc-cvs/2004-01/msg01520.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15736
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/15736] [3.5 Regression] internal compiler error: in force_decl_die, at dwarf2out.c:12441
2004-05-31 19:00 [Bug c++/15736] New: internal compiler error: in force_decl_die, at dwarf2out.c:12441 carlo at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-06-19 19:31 ` dpatel at apple dot com
@ 2004-06-19 19:33 ` pinskia at physics dot uc dot edu
2004-09-03 17:20 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 9+ messages in thread
From: pinskia at physics dot uc dot edu @ 2004-06-19 19:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at physics dot uc dot edu 2004-06-19 19:33 -------
Subject: Re: [3.5 Regression] internal compiler error: in force_decl_die, at dwarf2out.c:12441
>
>
> ------- Additional Comments From dpatel at apple dot com 2004-06-19 19:29 -------
> If following patch is reverted than it fixes this ICE.
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15736
>
> But that patch was applied to fix Ada bootstrap. Andrew, do you have Ada setup to see if this patches
> still causes trouble with Ada?
Which patch, you only gave a link to this bug again? Also Ada is broken on the mainline because of
the tree-ssa merge so I cannot test Ada :(.
Thanks,
Andrew
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15736
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/15736] [3.5 Regression] internal compiler error: in force_decl_die, at dwarf2out.c:12441
2004-05-31 19:00 [Bug c++/15736] New: internal compiler error: in force_decl_die, at dwarf2out.c:12441 carlo at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-06-19 19:33 ` pinskia at physics dot uc dot edu
@ 2004-09-03 17:20 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-03 17:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-03 17:20 -------
Fixed by:
* dwarf2out.c (gen_field_die): Equate decl number to die.
* g++.dg/debug/pr15736.cc: New test.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15736
^ permalink raw reply [flat|nested] 9+ messages in thread