Bug 1033 – internal compiler error: in output_die, at dwarf2out.c:7122

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2007-03-07T17:07:00Z
Last change time
2015-06-09T05:15:22Z
Assigned to
dvdfrdmn
Creator
thomas-dloop

Comments

Comment #0 by thomas-dloop — 2007-03-07T17:07:49Z
# 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
Comment #1 by dvdfrdmn — 2007-09-23T21:20:31Z
Fixed in svn rev 168 / release 0.25