This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: Fix debug/17924 and debug/19191, take two

Daniel Berlin <> writes:

> This is an updated patch to fix debug/17924 and debug/19191, both 4.0
> regressions (17924 is the dwarf-die7.c testsuite failure).
> It required fixing a few latent bugs in the process.

Probably more still present.

$ stage1/xgcc -Bstage1/ -B/usr/local/ia64-suse-linux/bin/ -c -g -O2      -gnatpg -gnata -I- -I. -Iada -I../../gcc/ada ../../gcc/ada/atree.adb -o ada/atree.o -v
Reading specs from stage1/specs
Configured with: ../configure --host=ia64-suse-linux --enable-shared --enable-threads --enable-__cxa_atexit --with-system-zlib --with-system-libunwind
Thread model: posix
gcc version 4.0.0 20050104 (experimental)
 stage1/gnat1 -I- -I. -Iada -I../../gcc/ada -quiet -dumpbase atree.adb -O2 -g -gnatpg -gnata -gnatO ada/atree.o ../../gcc/ada/atree.adb -o /tmp/cc4qbiRF.s
+===========================GNAT BUG DETECTED==============================+
| 4.0.0 20050104 (experimental) (ia64-suse-linux-gnu) GCC error:           |
| in gen_subprogram_die, at dwarf2out.c:11207                              |
| Error detected at atree.adb:6579:1                                       |

#0  fancy_abort (file=0x4000000000d68f00 "../../gcc/dwarf2out.c", line=11207, 
    function=0x4000000000d69770 "gen_subprogram_die") at diagnostic.c:555
#1  0x40000000007ee960 in gen_subprogram_die (decl=0x20000000021d9ba0, 
    context_die=0x0) at dwarf2out.c:11155
#2  0x40000000007e92c0 in gen_decl_die (decl=0x20000000021d9ba0, 
    context_die=0x0) at dwarf2out.c:12550
#3  0x40000000007eb7a0 in dwarf2out_abstract_function (decl=0x20000000021d9ba0)
    at dwarf2out.c:11143
#4  0x40000000007e92a0 in gen_decl_die (decl=0x2000000001bc4410, 
    context_die=0x2000000001fd2b70) at dwarf2out.c:12583
#5  0x40000000007ee350 in decls_for_scope (stmt=0x2000000002035180, 
    context_die=0x2000000001fd2b70, depth=3) at dwarf2out.c:12323
#6  0x40000000007edbf0 in gen_block_die (stmt=0x2000000002035180, 
    context_die=0x2000000001fd2b70, depth=3) at dwarf2out.c:12231
#7  0x40000000007ee400 in decls_for_scope (stmt=0x2000000002035180, 
    context_die=0x2000000001fd2b70, depth=3) at dwarf2out.c:12361
#8  0x40000000007edf10 in gen_block_die (stmt=0x2000000002035030, 
    context_die=0x2000000001b0a3d0, depth=2) at dwarf2out.c:11625
#9  0x40000000007ed940 in gen_block_die (stmt=0x2000000002035030, 
    context_die=0x2000000001fd1c20, depth=2) at dwarf2out.c:12250
#10 0x40000000007ee460 in decls_for_scope (stmt=0x20000000020c8700, 
    context_die=0x2000000001fd1c20, depth=1) at dwarf2out.c:12323
#11 0x40000000007ef8b0 in gen_subprogram_die (decl=0x20000000003f5a00, 
    context_die=0x4000000000d68f00) at dwarf2out.c:11424
#12 0x40000000007e92c0 in gen_decl_die (decl=0x20000000003f5a00, 
    context_die=0x20000000003502d0) at dwarf2out.c:12550
#13 0x4000000000b19de0 in rest_of_handle_final () at passes.c:274
#14 0x4000000000b1c4a0 in rest_of_compilation () at passes.c:1793
#15 0x40000000005d97e0 in execute_pass_list (pass=0x60000000000072b8)
    at tree-optimize.c:560
#16 0x40000000005da200 in tree_rest_of_compilation (fndecl=0x20000000003f5a00)
    at tree-optimize.c:662
#17 0x4000000000038b00 in gnat_expand_body (gnu_decl=0x20000000003f5a00)
    at misc.c:627
#18 0x4000000000b59060 in cgraph_expand_function (node=0x200000000216d040)
    at cgraphunit.c:812
#19 0x4000000000b5a620 in cgraph_optimize () at cgraphunit.c:1689
#20 0x4000000000039fd0 in gnat_parse_file (set_yydebug=11250048) at misc.c:239
#21 0x4000000000aba980 in toplev_main (argc=200840, argv=0x60000000000310a0)
    at toplev.c:2103
#22 0x400000000058f390 in main (argc=200840, argv=0x60000000000310a0)
    at main.c:35


Andreas Schwab, SuSE Labs,
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]