------- Comment #32 from rupp at gnat dot com 2010-01-21 17:36 ------- I'm not sure what Jan is asking for exactly, but in an attempt to be helpful here is a traceback using the 20091124 sources for the reduced testcase on alpha-openvms. The debugging info is messed up for me too, but its just the source line correlation records numbers, the call stack looks reasonable. If I can be of further assistance please ask.
$ gdb ../../gnat1 (gdb) br fancy_abort (gdb) r -quiet -I. p.adb (gdb) bt #0 0x084eee38 in fancy_abort (file=0x8b079b7 "../../gcc-head-src/gcc/ipa.c", line=417, function=0x8b07ae0 "function_and_variable_visibility") at ../../gcc-head-src/gcc/diagnostic.c:155 #1 0x088c8a52 in function_and_variable_visibility (whole_program=0 '\0') at ../../gcc-head-src/gcc/cgraph.h:270 #2 0x088c8d91 in local_function_and_variable_visibility () at ../../gcc-head-src/gcc/cgraph.h:270 #3 0x08653c37 in execute_one_pass (pass=0x8b6b440) at ../../gcc-head-src/gcc/function.h:176 #4 0x08654352 in execute_ipa_pass_list (pass=0x8b6b440) at ../../gcc-head-src/gcc/function.h:176 #5 0x088a737e in ipa_passes () at ../../gcc-head-src/gcc/tree.h:182 #6 0x088a74f0 in cgraph_optimize () at ../../gcc-head-src/gcc/tree.h:182 #7 0x088a5d80 in cgraph_finalize_compilation_unit () at ../../gcc-head-src/gcc/tree.h:182 #8 0x0815c6d1 in gnat_write_global_declarations () at ../../gcc-head-src/gcc/tree.h:182 #9 0x0870e1bd in compile_file () at ../../gcc-head-src/gcc/toplev.h:198 #10 0x0870fe4a in do_compile () at ../../gcc-head-src/gcc/toplev.h:198 #11 0x0870ff0f in toplev_main (argc=4, argv=0xbfea58a4) at ../../gcc-head-src/gcc/toplev.h:198 #12 0x0847b33b in main (argc=4, argv=0xbfea58a4) at ../../gcc-head-src/gcc/main.c:35 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42068