aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
AgeCommit message (Collapse)AuthorFilesLines
2003-11-10* dwarf2out.c (gen_label_die): Cope with DECL_RTL not set.Richard Henderson1-4/+5
From-SVN: r73431
2003-10-26dwarf2out.c (output_cfi): Use HOST_WIDE_INT_PRINT.Andreas Jaeger1-4/+5
2003-10-26 Andreas Jaeger <aj@suse.de> Zack Weinberg <zack@codesourcery.com> Andreas Tobler <toa@pop.agri.ch> * dwarf2out.c (output_cfi): Use HOST_WIDE_INT_PRINT. (output_die): Likewise. (print_die): Likewise. Co-Authored-By: Andreas Tobler <toa@pop.agri.ch> Co-Authored-By: Zack Weinberg <zack@codesourcery.com> From-SVN: r72948
2003-10-25dwarf2out.c (dw_cfi_oprnd_struct): Offset is HOST_WIDE_INT.Jan Hubicka1-50/+42
* dwarf2out.c (dw_cfi_oprnd_struct): Offset is HOST_WIDE_INT. (cfa_loc): Likewise. (reg_save, stack_adjust_offset, queue_reg_save): Replace long by HOST_WIDE_INT. (args_size, old_args_size): change type to HOST_WIDE_INT. (dwarf2out_def_cfa, dwarf2out_args_size, dwarf2out_reg_save, new_loc_descr): offset is HOST_WIDE_INT. (dw_val_struct): integers, unsigneds and offsets are HOST_WIDE_INT. (add_AT_int, add_AT_unsigned, att_AT_offset, AT_int, AT_unsigned, AT_offset): Use HOST_WIDE_INT. (based_loc_descr): offset is HOST_WIDE_INT. (add_data_member): Likewise. (add_const_value_attribute): Simplify. From-SVN: r72935
2003-10-22dwarf2out.c (dwarf2out_abstract_function): Use DW_AT to check presence of ↵Jan Hubicka1-5/+5
DW_AT_inline. * dwarf2out.c (dwarf2out_abstract_function): Use DW_AT to check presence of DW_AT_inline. (gen_subprogram_die): Likewise; do not abort instead of emitting DW_AT_not_inline From-SVN: r72821
2003-10-22re PR debug/12389 ([testcase needed] ICE in gen_subprogram_die for nested ↵Jan Hubicka1-10/+12
function) PR debug/12389 * Makefile.in (dwarf2out.o): Depend on cgraph.h. * cgraph.c (cgraph_function_possibly_inlined_p): New function. * cgraph.h (cgraph_function_possibly_inlined_p): Declare. (cgraph_global_info): Add flag inlined * dwarf2out.c (gen_subprogram_die, gen_decl_die): Use cgraph_function_possibly_inded_p * cgraphunit.c (mark_inline): Set inlined flag. * toplev.c (rest_of_decl_compilation): Call outlining_inline_function only for possibly inlined functions. * c-decl.c (duplicate_decls): Never output abstract DIE representing old body of function. From-SVN: r72795
2003-10-06Fix -feliminate-dwarf2-dups ICE.Devang Patel1-10/+1
gcc * dwarf2out.c (is_main_source): Remove variable. (dwarf2out_start_source_file): Do not check is_main_source. Do not reset is_main_source. (dwarf2out_init): Do not initialize is_main_source. testsuite * gcc.dg/debug/dwarf2-3.h: New test. * gcc.dg/debug/dwarf2-3.c: New test case for -feliminate-dwarf2-dups. From-SVN: r72166
2003-09-30dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Honor ↵Richard Henderson1-1/+11
DWARF_ALT_FRAME_RETURN_COLUMN. * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Honor DWARF_ALT_FRAME_RETURN_COLUMN. * unwind-dw2.c (dwarf_reg_size_table): Expand by one. (_Unwind_GetGR, _Unwind_SetGR): Validate lookup column. (uw_frame_state_for): Return end-of-stack for null return address. * doc/tm.texi (DWARF_ALT_FRAME_RETURN_COLUMN): Add. * config/alpha/alpha.c (alpha_sa_mask): Add r31 for eh_return. (alpha_expand_prologue): Store a zero for it. (alpha_expand_epilogue): Don't reload it. * config/alpha/alpha.h (DWARF_ALT_FRAME_RETURN_COLUMN): New. * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Use column 64 for the sigframe return address. From-SVN: r71967
2003-09-29dwarf2out.c (default_eh_frame_section): Split into ...Rainer Orth1-5/+21
* dwarf2out.c (default_eh_frame_section): Split into ... (named_section_eh_frame_section, collect2_eh_frame_section): ... new functions. * output.h (named_section_eh_frame_section): Declare. (collect2_eh_frame_section): Likewise. From-SVN: r71920
2003-09-29* dwarf2out.c (add_const_value_attribute): Use real_to_target.Zack Weinberg1-18/+1
From-SVN: r71918
2003-09-23configure.in (HAVE_GAS_SHF_MERGE): Always define to test result.Rainer Orth1-5/+1
* configure.in (HAVE_GAS_SHF_MERGE): Always define to test result. Update description. * configure: Regenerate. * config.in: Likewise. * dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Test for HAVE_GAS_SHF_MERGE value. * varasm.c (mergeable_string_section): Likewise. (mergeable_constant_section): Likewise. From-SVN: r71691
2003-09-21Revert DECL_SOURCE_LOCATION -> TREE_LOCUS change.Richard Henderson1-10/+10
From-SVN: r71641
2003-09-21tree.h (TREE_LOCUS): Rename from DECL_SOURCE_LOCATION; make const.Richard Henderson1-10/+10
* tree.h (TREE_LOCUS): Rename from DECL_SOURCE_LOCATION; make const. (TREE_FILENAME, TREE_LINENO): Likewise. (set_tree_locus, copy_tree_locus, set_tree_file_line): New. (TREE_LOCUS_SET_P): New. * c-aux-info.c, c-decl.c, c-parse.in, coverage.c, dbxout.c, diagnostic.c, dwarf2out.c, dwarfout.c, function.c, integrate.c, print-tree.c, stmt.c, toplev.c, tree-dump.c, tree-inline.c, tree-optimize.c, tree.c, tree.def, xcoffout.c, config/alpha/alpha.c, config/mips/mips.c, doc/c-tree.texi, objc/objc-act.c: Update to match. ada/ * trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and change to const. cp/ * class.c, cp-tree.h, decl.c, decl2.c, error.c, init.c, method.c, optimize.c, pt.c, semantics.c, tree.c: Update for DECL_SOURCE_LOCATION rename and change to const. f/ * com.c, ste.c: Update for DECL_SOURCE_LOCATION rename and change to const. java/ * class.c, decl.c, jcf-parse.c, jcf-write.c, parse.y, resource.c: Update for DECL_SOURCE_LOCATION rename and change to const. treelang/ * treetree.c: Update for DECL_SOURCE_LOCATION rename and change to const. From-SVN: r71636
2003-09-11re PR fortran/11522 (g77 dwarf-2 ICE in add_abstract_origin_attribute)Alexandre Oliva1-4/+8
PR fortran/11522 * dwarf2out.c (gen_inlined_subroutine_die): Emit abstract function for ultimate origin even if block is abstract. From-SVN: r71301
2003-08-22c-decl.c: Fix comment formatting.Kazu Hirata1-2/+2
* c-decl.c: Fix comment formatting. * cfgrtl.c: Likewise. * combine.c: Likewise. * convert.c: Likewise. * dominance.c: Likewise. * dwarf2out.c: Likewise. * dwarfout.c: Likewise. * expmed.c: Likewise. * fold-const.c: Likewise. * gcov.c: Likewise. * genattrtab.c: Likewise. * ggc-common.c: Likewise. * mips-tfile.c: Likewise. * regmove.c: Likewise. From-SVN: r70677
2003-08-05c.opt: Introduce -fworking-directory.Alexandre Oliva1-1/+1
* c.opt: Introduce -fworking-directory. * doc/cpp.texi, doc/invoke.texi, doc/cppopts.texi: Document it. * c-common.h (flag_working_directory): Declare. * c-common.c (flag_working_directory): Define. * c-opts.c (c_common_handle_options): Set it. (sanitize_cpp_opts): Set... * cpplib.h (struct cpp_options): ... working_directory option. (struct cpp_callbacks): Add dir_change. * cppinit.c (read_original_filename): Call... (read_original_directory): New. Look for # 1 "directory//" and process it. (cpp_read_main_file): Call dir_change callback if working_directory option is set. * gcc.c (cpp_unique_options): Pass -g*. * c-lex.c (cb_dir_change): New. (init_c_lex): Set dir_change callback. * toplev.c (src_pwd): New static variable. (set_src_pwd, get_src_pwd): New functions. * toplev.h (get_src_pwd, set_src_pwd): Declare. * dbxout.c (dbxout_init): Call get_src_pwd() instead of getpwd(). * dwarf2out.c (gen_compile_unit_die): Likewise. * dwarfout.c (output_compile_unit_die, dwarfout_init): Likewise. From-SVN: r70189
2003-08-01system.h: Poison ASM_SIMPLIFY_DWARF_ADDR.Richard Henderson1-10/+12
* system.h: Poison ASM_SIMPLIFY_DWARF_ADDR. * varasm.c (lookup_constant_def): New function. * rtl.h (lookup_constant_def): Declare it. * dwarf2out.c (loc_descriptor_from_tree): Use it. Use targetm.delegitimize_address, not ASM_SIMPLIFY_DWARF_ADDR. From-SVN: r70072
2003-07-31* dwarf2out.c (loc_descriptor_from_tree, case CONSTRUCTOR): Fix error.Richard Kenner1-10/+6
From-SVN: r70019
2003-07-31* dwarf2out.c (loc_descriptor_from_tree, case CONSTRUCTOR): New case.Richard Kenner1-0/+20
From-SVN: r70013
2003-07-20re PR debug/11279 (DWARF-2 output mishandles large enums)Mark Mitchell1-2/+3
PR debug/11279 * dwarf2out.c (gen_enumeration_type_die): Remember that enumerators can be unsigned. From-SVN: r69605
2003-07-19alias.c [...]: Remove unnecessary casts.Kaveh R. Ghazi1-43/+37
* alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.c c-common.c c-decl.c c-incpath.c c-lex.c c-opts.c c-parse.in c-pragma.c c-typeck.c calls.c cfg.c cfganal.c cfgloop.c cfgrtl.c collect2.c combine.c conflict.c coverage.c cppexp.c cppfiles.c cpphash.c cppinit.c cpplex.c cpplib.c cppmacro.c cppspec.c cpptrad.c cse.c cselib.c dbxout.c defaults.h df.c dominance.c dwarf2out.c dwarfout.c emit-rtl.c except.c expmed.c expr.c final.c fix-header.c flow.c fold-const.c function.c gcc.c gccspec.c gcov.c gcse.c genattr.c genattrtab.c genautomata.c genconditions.c genemit.c genextract.c genoutput.c genrecog.c gensupport.c ggc-page.c ggc-simple.c global.c graph.c haifa-sched.c hashtable.c integrate.c jump.c langhooks.c lcm.c line-map.c local-alloc.c loop.c mips-tdump.c mips-tfile.c mkdeps.c optabs.c params.c postreload.c prefix.c print-tree.c protoize.c ra-build.c ra-colorize.c ra-rewrite.c ra.c recog.c reg-stack.c regclass.c regmove.c regrename.c reload.c reload1.c reorg.c resource.c sbitmap.c sched-deps.c sched-rgn.c sched-vis.c sdbout.c simplify-rtx.c ssa-ccp.c ssa.c stmt.c stor-layout.c timevar.c tlink.c toplev.c tree-dump.c tree.c unroll.c unwind-dw2-fde.c varasm.c varray.c vmsdbgout.c xcoffout.c: Remove unnecessary casts. From-SVN: r69587
2003-07-15dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): If ↵J"orn Rennecke1-0/+14
DWARF_FRAME_RETURN_COLUMN doesn't have a register mode, use Pmode. 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com> * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): If DWARF_FRAME_RETURN_COLUMN doesn't have a register mode, use Pmode. 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com> Richard Henderson <rth@redhat.com> * unwind-dw2.c (_Unwind_GetGR): Use dwarf_reg_size_table to decide if to access a _Unwind_Ptr or a _Unwind_Word. (_Unwind_SetGR): Likewise. (_Unwind_GetPtr, _Unwind_SetSpColumn): New functions. (Unwind_SpTmp): New typedef. (uw_update_context_1): Use _Unwind_SetSpColumn and _Unwind_GetPtr. (uw_update_context): Use _Unwind_GetPtr. (init_dwarf_reg_size_table): Move above uw_init_context_1. (uw_init_context_1): Initialize dwarf_reg_size_table if necessary. Use _Unwind_SetSpColumn. (uw_install_context_1): Don't initialize dwarf_reg_size_table. Use _Unwind_GetPtr. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r69424
2003-07-11regclass.c (choose_hard_reg_mode): Add third argument.J"orn Rennecke1-1/+5
* regclass.c (choose_hard_reg_mode): Add third argument. Changed all callers. * rtl.h (choose_hard_reg_mode): Update declaration. * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Take HARD_REGNO_CALL_PART_CLOBBERED into account. From-SVN: r69234
2003-07-01basic-block.h: Fix comment typos.Kazu Hirata1-1/+1
* basic-block.h: Fix comment typos. * bb-reorder.c: Likewise. * c-format.c: Likewise. * cfgcleanup.c: Likewise. * cfghooks.h: Likewise. * cfgloop.c: Likewise. * cfgloopmanip.c: Likewise. * cfgrtl.c: Likewise. * cgraph.h: Likewise. * cgraphunit.c: Likewise. * combine.c: Likewise. * convert.c: Likewise. * dbxout.c: Likewise. * df.c: Likewise. * df.h: Likewise. * diagnostic.c: Likewise. * dwarf2out.c: Likewise. * et-forest.h: Likewise. * flow.c: Likewise. * fold-const.c: Likewise. * function.h: Likewise. * gcov-io.h: Likewise. * gcov.c: Likewise. * gcse.c: Likewise. * genautomata.c: Likewise. * ggc-common.c: Likewise. * ggc-page.c: Likewise. * loop-unroll.c: Likewise. * loop-unswitch.c: Likewise. * loop.c: Likewise. * mips-tfile.c: Likewise. * optabs.c: Likewise. * ra-build.c: Likewise. * ra-colorize.c: Likewise. * ra-rewrite.c: Likewise. * ra.h: Likewise. * regmove.c: Likewise. * reload.c: Likewise. * rtlanal.c: Likewise. * sched-ebb.c: Likewise. * sched-int.h: Likewise. * sched-vis.c: Likewise. * sreal.c: Likewise. * ssa-ccp.c: Likewise. * ssa.c: Likewise. * toplev.c: Likewise. * tree-inline.c: Likewise. * value-prof.c: Likewise. * value-prof.h: Likewise. From-SVN: r68770
2003-06-29cse.c: Convert prototypes to ISO C90.Andreas Jaeger1-1065/+600
* cse.c: Convert prototypes to ISO C90. * cselib.c: Likewise. * cselib.h: Likewise. * dbxout.c: Likewise. * debug.c: Likewise. * df.c: Likewise. * df.h: Likewise. * dojump.c: Likewise. * doloop.c: Likewise. * dominance.c: Likewise. * dwarf2asm.c: Likewise. * dwarf2out.c: Likewise. * dwarf2out.h: Likewise. * dwarfout.c: Likewise. From-SVN: r68673
2003-06-29alloc-pool.c: Fix comment formatting.Kazu Hirata1-6/+6
* alloc-pool.c: Fix comment formatting. * bitmap.c: Likewise. * bitmap.h: Likewise. * bt-load.c: Likewise. * builtins.c: Likewise. * caller-save.c: Likewise. * cfganal.c: Likewise. * cfgrtl.c: Likewise. * collect2.c: Likewise. * cse.c: Likewise. * df.c: Likewise. * diagnostic.c: Likewise. * dwarf2out.c: Likewise. * dwarfout.c: Likewise. * expmed.c: Likewise. * final.c: Likewise. * flags.h: Likewise. * fold-const.c: Likewise. * gcc.c: Likewise. * gcov-io.h: Likewise. * gcov.c: Likewise. * genattrtab.c: Likewise. * genautomata.c: Likewise. * libgcov.c: Likewise. * mips-tfile.c: Likewise. * optabs.c: Likewise. * prefix.c: Likewise. * rtlanal.c: Likewise. * stmt.c: Likewise. * stor-layout.c: Likewise. * toplev.c: Likewise. * varasm.c: Likewise. * vmsdbgout.c: Likewise. From-SVN: r68672
2003-06-29dwarf2out.c (add_AT_string): Replace ggc_alloc_string (X, -1) with ggc_strdup.Kazu Hirata1-1/+1
* dwarf2out.c (add_AT_string): Replace ggc_alloc_string (X, -1) with ggc_strdup. * stmt.c (expand_asm_operands): Likewise. * config/rs6000/rs6000.md (builtin_setjmp_receiver): Likewise. From-SVN: r68659
2003-06-25* dwarf2out.c (gen_field_die): Return if type of decl is error mark.Josef Zlomek1-1/+5
From-SVN: r68459
2003-06-23re PR debug/9905 (Unhandled STMT_EXPR in loc_descriptor_from_tree)Andreas Schwab1-0/+1
PR debug/9905 * dwarf2out.c (loc_descriptor_from_tree): Handle MODIFY_EXPR by recursing through first argument. From-SVN: r68379
2003-06-23ChangeLog.1: Fix a typo.Kazu Hirata1-6/+6
* ChangeLog.1: Fix a typo. * cfgrtl.c: Fix comment typos. * dwarf2out.c: Likewise. * expmed.c: Likewise. * genrecog.c: Likewise. * jump.c: Likewise. * rtlanal.c: Likewise. * ssa-dce.c: Likewise. * toplev.c: Likewise. From-SVN: r68374
2003-06-23basic-block.h: Fix comment formatting.Kazu Hirata1-2/+2
* basic-block.h: Fix comment formatting. * bt-load.c: Likewise. * builtins.c: Likewise. * c-common.c: Likewise. * c-common.h: Likewise. * c-format.c: Likewise. * coverage.c: Likewise. * cpplib.h: Likewise. * cpppch.c: Likewise. * dbxout.c: Likewise. * diagnostic.c: Likewise. * dwarf2out.c: Likewise. * expr.c: Likewise. * fold-const.c: Likewise. * function.c: Likewise. * gcc.c: Likewise. * gcov-io.c: Likewise. * gcov-io.h: Likewise. * gcov.c: Likewise. * profile.c: Likewise. * real.h: Likewise. * sched-deps.c: Likewise. From-SVN: r68369
2003-06-16decl.c, [...]: Don't use the PTR macro.Kaveh R. Ghazi1-1/+1
cp: * cp/decl.c, cp/pt.c, cp/search.c, cp/tree.c: Don't use the PTR macro. gcc: * bitmap.c, builtins.c, c-incpath.c, cgraph.c, config/frv/frv.c, config/mips/mips.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c, dwarf2out.c, dwarfout.c, except.c, expr.c, expr.h, fold-const.c, function.c, gcc.c, genoutput.c, gensupport.c, global.c, haifa-sched.c, hashtable.c, ifcvt.c, integrate.c, local-alloc.c, loop.c, mips-tdump.c, mips-tfile.c, mkdeps.c, protoize.c, read-rtl.c, recog.h, reload1.c, sbitmap.c, ssa-dce.c, stringpool.c, tlink.c, tree.c, varasm.c, varray.c: Don't use the PTR macro. From-SVN: r68043
2003-06-16convert.c, [...]: Replace overly specific references to "GNU C" and "GNU C ↵Nathanael Nerode1-1/+1
Compiler" with... * convert.c, dwarf2out.c, dwarfout.c, emit-rtl.c, function.c, lists.c, print-rtl.c, print-tree.c, read-rtl.c, rtl-error.c, stmt.c, toplev.c, integrate.h, loop.h, machmode.h, rtl.h, ssa.h, tree.def: Replace overly specific references to "GNU C" and "GNU C Compiler" with references to "GCC". From-SVN: r68004
2003-06-12ChangeLog: Follow spelling conventions.Kazu Hirata1-1/+1
* ChangeLog: Follow spelling conventions. * ChangeLog.2: Likewise. * c-decl.c: Likewise. * cfgloop.h: Likewise. * cgraph.c: Likewise. * coverage.c: Likewise. * cppcharset.c: Likewise. * cpphash.h: Likewise. * cpplex.c: Likewise. * cpplib.c: Likewise. * dbxout.c: Likewise. * df.c: Likewise. * dwarf2out.c: Likewise. * dwarfout.c: Likewise. * emit-rtl.c: Likewise. * explow.c: Likewise. * gcov-io.c: Likewise. * gcov-io.h: Likewise. * gcov.c: Likewise. * gengtype.c: Likewise. * ggc.h: Likewise. * opts.c: Likewise. * real.c: Likewise. * reload.c: Likewise. * stmt.c: Likewise. From-SVN: r67849
2003-06-05dwarf2out.c (loc_descriptor_from_tree): Return 0 for language-specific tree ↵Richard Henderson1-0/+8
codes. * dwarf2out.c (loc_descriptor_from_tree): Return 0 for language-specific tree codes. * gcc.dg/debug/20030605-1.c: New. From-SVN: r67505
2003-06-04c-decl.c (c_init_decl_processing): Clear input_file_name while building ↵J"orn Rennecke1-2/+5
common nodes. * c-decl.c (c_init_decl_processing): Clear input_file_name while building common nodes. * dwarf2out.c (gen_compile_unit_die, dwarf2out_finish): Don't add working directory for strings like <built-in> . From-SVN: r67452
2003-06-04* dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Heed flag_merge_constants.Alan Modra1-1/+3
From-SVN: r67403
2003-05-20* alias.c (nonlocal_mentioned_p, nonlocal_referenced_p)Matt Kraai1-1/+0
(nonlocal_set_p): Remove initial blank line. * dwarf2out.c (simple_type_size_in_bits): Likewise. * et-forest.c (et_forest_create): Likewise. * explow.c (stabilize): Likewise. * fix-header.c (write_lbrac): Likewise. * graph.c (start_fct, node_data): Likewise. * jump.c (only_sets_cc0_p, sets_cc0_p): Likewise. * rtlanal.c (global_reg_mentioned_p): Likewise. * tree.c (bit_position): Likewise. From-SVN: r66984
2003-05-03builtins.c (expand_builtin): Remove.Richard Henderson1-2/+2
* builtins.c (expand_builtin) <BUILT_IN_DWARF_FP_REGNUM>: Remove. <BUILT_IN_DWARF_SP_COLUMN>: New. * builtins.def (BUILT_IN_DWARF_FP_REGNUM): Remove. (BUILT_IN_DWARF_SP_COLUMN): New. * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Remove. (expand_builtin_dwarf_sp_column): New. * except.h: Update to match. * unwind-dw2.c (execute_stack_op): Correct stack push typo. (execute_cfa_program): Record location expression address before extracting length. (uw_update_context_1): Install old CFA into stack pointer column. (uw_init_context_1): Set cfa_reg to stack pointer column. From-SVN: r66447
2003-05-01dwarf2out.c (dwarf2out_init, [...]): Change parameter name from input_filename.Nathan Sidwell1-6/+6
* dwarf2out.c (dwarf2out_init, dwarf2out_finish): Change parameter name from input_filename. f: * ste.c (struct gbe_block): Rename field from input_filename. (ffeste_start_block_, ffeste_start_stmt_): Likewise. From-SVN: r66326
2003-04-29dwarf2out.c (output_call_frame_info): No need to output EH unwind ↵Geoffrey Keating1-1/+2
information if all_throwers_are_sibcalls. * dwarf2out.c (output_call_frame_info): No need to output EH unwind information if all_throwers_are_sibcalls. From-SVN: r66253
2003-04-23dwarf2out.c (fde_table_allocated): Mark with GTY.Geoffrey Keating1-31/+23
* dwarf2out.c (fde_table_allocated): Mark with GTY. (decl_die_table_allocated): Likewise. (abbrev_die_table_allocated): Likewise. (line_info_table_allocated): Likewise. (separate_line_info_table_allocated): Likewise. (pubname_table_allocated): Likewise. (arange_table_allocated): Likewise. (ranges_table_allocated): Likewise. (decl_die_table_in_use): Unconditionalize; mark with GTY. (abbrev_die_table_in_use): Likewise. (line_info_table_in_use): Likewise. (separate_line_info_table_in_use): Likewise. (pubname_table_in_use): Likewise. (arange_table_in_use): Likewise. (ranges_table_in_use): Likewise. (have_location_lists): Likewise. (emitcount): New GTY-marked static, moved... (maybe_emit_file): ...from here. (label_num): New GTY-marked static, moved... (gen_internal_sym): ...from here. Co-Authored-By: Loren J. Rittle <ljrittle@acm.org> From-SVN: r65970
2003-04-21dwarf2out.c (is_ada, [...]): New functions.Joel Brobecker1-13/+80
* dwarf2out.c (is_ada, is_ada_subrange_type): New functions. (subrange_type_die): Likewise. (modified_type_die): Emit a subrange_type DIE for Ada subrange types. (is_c_family, is_cxx, is_java, is_fortran): Return bool and clean up. From-SVN: r65898
2003-04-18dwarf2out.c (loc_descriptor_from_tree): Treat all *_MOD_EXPR and *_DIV_EXPR ↵Vincent Celier1-0/+6
as TRUNC_*_EXPR. * dwarf2out.c (loc_descriptor_from_tree): Treat all *_MOD_EXPR and *_DIV_EXPR as TRUNC_*_EXPR. From-SVN: r65793
2003-04-14dwarf2out.c (gen_compile_unit_die): Emit DW_LANG_Ada95 instead of ↵Joel Brobecker1-1/+1
DW_LANG_Ada83 for Ada units. * dwarf2out.c (gen_compile_unit_die): Emit DW_LANG_Ada95 instead of DW_LANG_Ada83 for Ada units. From-SVN: r65591
2003-04-08dwarf2out.c (DWARF_ARANGES_HEADER_SIZE, [...]): Take into account ↵Kevin Buettner1-4/+6
DWARF_INITIAL_LENGTH_SIZE. * dwarf2out.c (DWARF_ARANGES_HEADER_SIZE, DWARF_ARANGES_PAD_SIZE): Take into account DWARF_INITIAL_LENGTH_SIZE. From-SVN: r65385
2003-04-05dbxout.c (scope_labelno): Add GTY.Geoffrey Keating1-1/+2
2003-04-04 Geoffrey Keating <geoffk@apple.com> * dbxout.c (scope_labelno): Add GTY. (have_used_extensions): Add GTY. (source_label_number): Add GTY. (lastfile): Add GTY. (lastfile_is_base): New. (base_input_file): New. (dbxout_handle_pch): New. (dbx_debug_hooks): Add handle_pch. (xcoff_debug_hooks): Likewise. (dbxout_function_end): Remove scope_labelno. (dbxout_init): Set base_input_file. (dbxout_handle_pch): New. (dbxout_source_file): Honour lastfile_is_base. * dwarfout.c (dwarf_debug_hooks): Add dummy handle_pch. * sdbout.c (sdb_debug_hooks): Add dummy handle_pch. * vmsdbgout.c (vmsdbg_debug_hooks): Add dummy handle_pch. * dwarf2out.c (dwarf2_debug_hooks): Add dummy handle_pch. * debug.c (do_nothing_debug_hooks): Add dummy handle_pch. * debug.h (struct gcc_debug_hooks): Add handle_pch. * c-pch.c (pch_init): Don't call start_source_file, but do call handle_pch. (c_common_write_pch): Call handle_pch. (c_common_read_pch): Don't call start_source_file, or end_source_file. Index: gcc/testsuite/ChangeLog 2003-04-04 Geoffrey Keating <geoffk@apple.com> * gcc.dg/pch/static-3.c: New. * gcc.dg/pch/static-3.hs: New. * gcc.dg/pch/pch.exp: Test with -O0 -g too. From-SVN: r65266
2003-04-03dwarf2out.c (lookup_filename): Don't check for "<internal>".Jason Merrill1-6/+2
* dwarf2out.c (lookup_filename): Don't check for "<internal>". (dwarf2out_source_line): Don't do anything if line==0. From-SVN: r65208
2003-04-02dwarf2out.c (output_call_frame_info): Ignore fde->nothrow as an optimization ↵Richard Henderson1-7/+9
when flag_exceptions not enabled. * dwarf2out.c (output_call_frame_info): Ignore fde->nothrow as an optimization when flag_exceptions not enabled. From-SVN: r65169
2003-03-28PR target/10114 and PR target/10084Eric Botcazou1-0/+5
PR target/10114 and PR target/10084 * dwarf2out.c (mem_loc_descriptor): Handle LO_SUM. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r64947
2003-03-19Add support for DWARF 3 64-bit sections.Kevin Buettner1-2/+28
From-SVN: r64589