[Bug c++/32118] ICE in c++ code
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon May 28 12:28:00 GMT 2007
------- Comment #4 from rguenth at gcc dot gnu dot org 2007-05-28 12:28 -------
Confirmed. Another mangling problem:
Program received signal SIGSEGV, Segmentation fault.
0x0827e9b8 in write_expression (expr=0xb7cdd870)
at /home/richard/src/trunk2/gcc/cp/mangle.c:2175
warning: Source file is more recent than executable.
2175 write_string (operator_name_info[(int) code].mangled_name);
(gdb) print operator_name_info[(int) code]
$1 = {identifier = 0x0, name = 0x0, mangled_name = 0x0, arity = 0}
(gdb) print code
$2 = 214
(gdb)
#2 0x08280a16 in write_template_arg (node=0xb7daf540)
at /home/richard/src/trunk2/gcc/cp/mangle.c:2363
2363 write_expression (node);
(gdb) call debug_tree(node)
<addr_expr 0xb7daf540
arg 0 <template_id_expr 0xb7cdd870
type <lang_type 0xb7d61d80 unknown type type <lang_type 0xb7d61d80
unknown type>
VOID
align 1 symtab 0 alias set -1 canonical type 0xb7d61d80
pointer_to_this <lang_type 0xb7d61d80 unknown type>
reference_to_this <lang_type 0xb7d61d80 unknown type>>
arg 0 <overload 0xb7db1a9c type <lang_type 0xb7d61d80 unknown type>
function <template_decl 0xb7db3b64 direct_context_cast>>
arg 1 <tree_vec 0xb7db632c
elt 0 <template_type_parm 0xb7db5654 Iface>>>>
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Known to fail| |4.1.2 4.2.0 4.3.0
Last reconfirmed|0000-00-00 00:00:00 |2007-05-28 12:28:24
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32118
More information about the Gcc-bugs
mailing list