[Issue 1033] New: internal compiler error: in output_die, at dwarf2out.c:7122
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Mar 7 15:07:59 PST 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1033
Summary: internal compiler error: in output_die, at
dwarf2out.c:7122
Product: DGCC aka GDC
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: glue layer
AssignedTo: dvdfrdmn at users.sf.net
ReportedBy: thomas-dloop at kuehne.cn
# class X{
# void append (char[]){
# }
#
# void append (char[] delegate()){
# }
# }
#
# void main(){
# char[] dummy(){
# return "123";
# }
#
# X x;
# x.append(dummy);
# x.append(&dummy);
# }
gdmd-0.23 -g -inline -O a.d
a.d:16: internal compiler error: in output_die, at dwarf2out.c:7122
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Breakpoint 6, fancy_abort (file=0xa56e40 "../../gcc-4.1.1/gcc/dwarf2out.c",
line=7122, function=0xa5a4aa "output_die")
at ../../gcc-4.1.1/gcc/diagnostic.c:602
602 internal_error ("in %s, at %s:%d", function, trim_filename (file),
line);
(gdb) bt
#0 fancy_abort (file=0xa56e40 "../../gcc-4.1.1/gcc/dwarf2out.c", line=7122,
function=0xa5a4aa "output_die")
at ../../gcc-4.1.1/gcc/diagnostic.c:602
#1 0x00000000005b6289 in output_die (die=0x2b453d8be9b0) at
../../gcc-4.1.1/gcc/dwarf2out.c:7122
#2 0x00000000005b642d in output_die (die=0x2b453d8be960) at
../../gcc-4.1.1/gcc/dwarf2out.c:7161
#3 0x00000000005b642d in output_die (die=0x2b453d8be550) at
../../gcc-4.1.1/gcc/dwarf2out.c:7161
#4 0x00000000005b642d in output_die (die=0x2b453d6f3410) at
../../gcc-4.1.1/gcc/dwarf2out.c:7161
#5 0x00000000005b66be in output_comp_unit (die=0x2b453d6f3410,
output_if_empty=0) at ../../gcc-4.1.1/gcc/dwarf2out.c:7227
#6 0x00000000005c297e in dwarf2out_finish (filename=0x7fff6dba530f
"run/d/delegate_19_B.d")
at ../../gcc-4.1.1/gcc/dwarf2out.c:14223
#7 0x0000000000833c81 in compile_file () at ../../gcc-4.1.1/gcc/toplev.c:1029
#8 0x000000000083553d in do_compile () at ../../gcc-4.1.1/gcc/toplev.c:1949
#9 0x00000000008355a1 in toplev_main (argc=6, argv=0x7fff6dba4f48) at
../../gcc-4.1.1/gcc/toplev.c:1981
#10 0x000000000050121b in main (argc=6, argv=0x7fff6dba4f48) at
../../gcc-4.1.1/gcc/main.c:35
test case:
http://dstress.kuehne.cn/run/d/delegate_19_B.d
http://dstress.kuehne.cn/run/n/nested_function_07_A.d
http://dstress.kuehne.cn/run/n/nested_function_07_B.d
http://dstress.kuehne.cn/run/n/nested_function_07_C.d
--
More information about the D.gnu
mailing list