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]

dwarf2out change breaks ada

This patch

2004-01-27  Devang Patel <>

        * (dwarf2out.o): Depend on input.h
        * dbxout.c (dbx_debug_hooks): Add new empty hook for
        (xcoff_debug_hooks): Same.
        * sdbout.c (sdb_debug_hooks): Same.
        * vmsdbgout.c (vmsdbg_debug_hooks): Same.
        * debug.c (do_nothing_debug_hooks): Same.
        (debug_nothing_tree_tree): New function.
        * debug.h (gcc_debug_hooks): New hook, imported_module_or_decl.
        * dwarf2out.c: Include input.h.
        (dwarf2_debug_hooks): Add new hook for imported_module_or_decl.
        (remove_child_TAG): New function.
        (dwarf_tag_name): Handle DW_TAG_imported_module.
        (gen_subprogram_die): Equate decl number to declaration die. Do not
        remove all children dies while reusing declaration die for definition.
        Instead, selectively remove only formal parameters.
        (gen_variable_die): Equate variable decl to declaration die.
        (gen_field_die): Equate field decl to line number.
        (force_namespace_die): Replace it with ...
        (force_decl_die): ... this.
        (force_type_die): New function.
        (setup_namespace_context): Replace use of force_namespace_die() with
        (gen_namespace_die): Same.
        (dwarf2out_imported_module_or_decl): New function.


stage1/xgcc -Bstage1/ -B/louie/rth/run/i686-pc-linux-gnu/bin/ -c -g -O2      -gn
atpg -gnata -I- -I. -Iada -I../../../src-gcc/gcc/ada ../../../src-gcc/gcc/ada/os
int.adb -o ada/osint.o
+===========================GNAT BUG DETECTED==============================+
| 3.5.0 20040128 (experimental) (i686-pc-linux-gnu) GCC error:             |
| in splice_child_die, at dwarf2out.c:5160                                 |
| Error detected at                                       |
| Please submit a bug report; see            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc or gnatmake command that you entered.              |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |

on i686-linux.  I verified that it's this patch along by backing
out the patch and having bootstrap succeed.  Please fix.


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