This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: New tree code anon_decl leads to abort of dwarf2out.c:gen_decl_die
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Joern Rennecke <amylaar at onetel dot net dot uk>
- Cc: jason at redhat dot com, gcc at gcc dot gnu dot org
- Date: Mon, 27 Jan 2003 23:06:24 -0500
- Subject: Re: New tree code anon_decl leads to abort of dwarf2out.c:gen_decl_die
- References: <200301280211.h0S2BQag026602@meolyon.local>
On Tue, Jan 28, 2003 at 02:11:26AM +0000, Joern Rennecke wrote:
> A file from the gdb testsuite triggers an internal compiler error on sh-elf.
> gen_decl_die does not know what to do with:
>
> <alias_decl 0x40194a10 z
> type <integer_type 0x4001c540 int asm_written type_6 SI
> size <integer_cst 0x40019560 constant 32>
> unit size <integer_cst 0x40019600 constant 4>
> align 32 symtab 1075211448 alias set -1 precision 32 min <integer_cst 0x400195c0 -2147483648> max <integer_cst 0x400195e0 2147483647>
> pointer_to_this <pointer_type 0x4014fcb0>>
> external VOID file ../../../srcw/gdb/testsuite/gdb.c++/anon-union.cc line 49
> align 1 context <function_decl 0x40190620 main> initial <component_ref 0x401933c0> chain <alias_decl 0x40194a80 w>>
>
> Should we emit any debug information for this tree code, or just ignore it?
FYI, I believe this is PR debug/9039.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer