summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
Commit message (Collapse)AuthorAgeFilesLines
* Major cutover to using system.h:ghazi1998-03-201-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o, c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o, caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o, dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o, expr.o, final.o, flow.o, function.o, getpwd.o, global.o, integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o, prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o, reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o, rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o, tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend on system.h. * alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c, c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c, caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c, dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c, expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c, integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c, prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c, reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c, rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c, stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c, xcoffout.c: Include system.h. Organize include ordering so that stdarg/varargs comes before other system headers. Remove spurious casts of functions assured of a prototype in system.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18726 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix more warnings...ghazi1998-03-181-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * c-lang.c (finish_file): Wrap variable `void_list_node' with macro test !ASM_OUTPUT_CONSTRUCTOR || !ASM_OUTPUT_DESTRUCTOR. * calls.c (emit_call_1): Wrap variable `already_popped' with macro test !ACCUMULATE_OUTGOING_ARGS. * collect2.c (write_c_file_glob): Wrap function definition in macro test !LD_INIT_SWITCH. * combine.c (try_combine): Wrap variables `cc_use' and `compare_mode' in macro test EXTRA_CC_MODES. * cpplib.c (do_ident): Remove unused variable `len'. (skip_if_group): Remove unused variables `at_beg_of_line' and `after_ident'. (cpp_get_token): Remove unused variable `dummy'. * dbxout.c (scope_labelno): Move static variable definition inside the one function scope where it is used. (dbxout_function_end): Wrap prototype and definition in macro test !NO_DBX_FUNCTION_END. * dwarf2out.c (add_subscript_info): Wrap variable `dimension_number' in macro test !MIPS_DEBUGGING_INFO. * expr.c (expand_builtin_setjmp): Move declaration of variable `i' into the scope where it is used. Wrap empty else-statement body in braces. * fix-header.c: Fix typo in comment. (inf_skip_spaces): Cast results of INF_UNGET to (void). (check_protection, main): Likewise. * flow.c (find_basic_blocks_1): Remove dangling comment text. * function.c (contains): Wrap prototype and definition in macro test HAVE_prologue || HAVE_epilogue. (fixup_var_refs_1): Remove unused variable `width'. * gen-protos.c (main): Remove unused variable `optr'. * haifa-sched.c (debug_control_flow): Remove unused variable `j'. * libgcc2.c (__udiv_w_sdiv): Provide dummy return value of 0. (__sjpopnthrow): Remove unused variable `jmpbuf'. (__throw): Remove unused variable `val'. * protoize.c: Check for a previously existing definition before defining *_OK macros. * scan-decls.c (scan_decls): Remove unused variable `old_written'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18654 138bc75d-0d04-0410-961f-82ee72b054a4
* dmanfred1998-03-121-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc/ChangeLog: * c-decl (finish_struct): Change type of min_align to unsigned. * cplus-dem.c (demangle_function_name): Change type of variable i to size_t; remove unused variable len. * dwarf2out.c (reg_save): Add explicit cast of -1 to unsigned and a comment indicating this is proper behaviour. (reg_loc_descriptor): Remove redundant comparison of unsigned variable reg >= 0. (based_loc_descr): Likewise. * enquire.c (bitpattern): Change type of variable i to unsigned. * final.c (output_asm_insn): Don't cast insn_noperands to unsigned. * flow.c (life_analysis): Change type of variable i to size_t; remove unused variable insn. * gcc.c (translate_options): Change type of variables optlen, arglen and complen to size_t. (input_filename_length): Change type to size_t. (do_spec_1): Change type of variable bufsize to size_t. (main): Change type of variables i and j to size_t; remove subblock local definition of variable i. (lookup_compiler): Change type of second argument to size_t; change type of variable i to size_t. * genemit.c (output_init_mov_optab): Change type of variable i to size_t. * genopinit.c (get_insn): Change type of variable pindex to size_t. * genrecog.c (add_to_sequence): Change type of variable i to size_t. * global.c (global_alloc): Change type of variable i to size_t. * regclass.c (init_reg_sets): Change type of variables i and j to unsigned. * stmt.c (expand_end_bindings): Change type of variable i to size_t. (expand_end_case): Change type of variable count to size_t. * toplev.c (main): Change type of variable j to size_t. (set_target_switch): Change type of variable j to size_t. (print_switch_values): Change type of variable j to size_t; remove unused variable flags. * varasm.c (assemble_variable): Change type of variable align to size_t. (const_hash_rtx): Change type of variable i to size_t. gcc/cp/ChangeLog: Sun Mar 8 17:13:38 1998 Manfred Hollstein <manfred@s-direktnet.de> * decl2.c (lang_decode_option): Change j's type to size_t. * tree.c (layout_vbasetypes): record_align and desired_align are of type unsigned int; const_size and nonvirtual_const_size likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18490 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix C++ irix6 -g compiler abort.wilson1998-02-131-13/+60
| | | | | | | | | | | | | | * dwarf2out.c (decl_scope_node): New type. (decl_scope_table): Change type to use it. (decl_scope_table_allocated, decl_scope_depth): Change type to int. (push_decl_scope): Use new type. New locals containing_scope, i. Add code to handle setting previous field. (scope_die_for): Change type of local i to int. Add code to use previous field. (dwarf2out_init): Use new type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17969 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c: Add old_args_size.jason1998-02-061-2/+31
| | | | | | | | | | | | | | (dwarf2out_args_size): Use it. (dwarf2out_begin_prologue): Initialize it. (dwarf2out_stack_adjust): If !asynchronous_exceptions, save up pushed args until we see a call. * final.c (final_scan_insn): Hand CALL_INSNs off to the dwarf2 code before outputting them. * cplus-dem.c (demangle_template_template_parm): New function. (demangle_template): Handle template template parameters. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17685 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c (dwarf2out_frame_init): Undo last change, so thatlaw1998-02-021-6/+3
| | | | | | | | -fno-sjlj-exceptions works for a target that defines DWARF2_UNWIND_INFO as zero. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17596 138bc75d-0d04-0410-961f-82ee72b054a4
* alaw1998-01-271-36/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * c-lex.c: Include <stdlib.h> and <string.h>/<strings.h>. Add prototype for `handle_sysv_pragma', and make it static. Add parentheses around assignment used as truth value. * combine.c (combine_instructions): Protect variable `prev' with macro HAVE_cc0. (can_combine_p): Protect variable `link' with AUTO_INC_DEC. (extract_left_shift): Add parentheses around operand of &. (merge_outer_ops): Avoid an empty body in an else-statement. (gen_rtx_combine): Remove unused variable `i'. * sparc/gmon-sol2.c: Include <fcntl.h>. Make return type of function monstartup `void'. Likewise for internal_mcount. Add `static void' prototype for moncontrol. Reconcile sprintf format vs. args. * sparc/sparc.c: Include <stdlib.h> and <string.h>/<strings.h>. Make return type of function_arg_slotno explicitly `int'. (reg_unused_after): Add parentheses around assignment used as truth value. (save_regs): Add explicit braces to avoid ambiguous `else'. (function_arg_slotno): Add parentheses around && within ||. (function_arg_pass_by_reference): Likewise. (sparc_flat_output_function_prologue): Reconcile fprintf format vs. args. * svr4.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around assignment used as truth value. * cplus-dem.c: Include <stdlib.h>. (demangle_signature): Avoid an empty body in an else-statement. (do_type): Remove unused variable `lvl'. * cppexp.c: Don't have <stdlib.h> depend on MULTIBYTE_CHARS. Include <string.h>/<strings.h>. (cpp_lex): Remove unused variable `namelen'. (cpp_lex): Explicitly declare `num_chars' as an int. * cpplib.c: Avoid duplicate inclusion of <stdlib.h>, include <unistd.h> instead. Explicitly declare is_system_include returning int. (make_assertion): Remove unused variable `kt'. (cpp_expand_to_buffer): Hide variable `obuf'. (output_line_command): Remove unused variables, `line_end', `line_cmd_buf' and `len'. (macarg): Remove unused variable `arg_start'. (special_symbol): Remove unused variable `i'. Add parentheses around assignment used as truth value. (do_include): Remove unused variables `pcfname' and `retried', hide `pcf' and `pcfbuflimit'. (do_line): Remove unused variable `i'. (finclude): Hide variable `missing_newline'. (cpp_handle_options): Remove unused variable `j'. (read_token_list): Remove unused variable `eofp'. (cpp_error_with_line): Remove unused variable `i'. (cpp_warning_with_line): Likewise. (cpp_pedwarn_with_line): Explicitly declare `column' as int. (cpp_error_from_errno): Remove unused variable `i'. * cse.c (invalidate): Add parentheses around assignment used as truth value. (find_best_addr): Move declaration of variable `our_cost' inside the conditional macro where its used. (fold_rtx): Avoid an empty body in an if-statement. (cse_insn): Wrap variables `this_insn_cc0_mode' and `this_insn_cc0' in macro HAVE_cc0. * dwarf2out.c: Include <stdlib.h> and <string.h>/<string.h>. (ASM_OUTPUT_DWARF_DATA8): Reconcile format vs. args in fprintf's. (output_uleb128): Likewise. (output_sleb128): Likewise. (output_cfi): Likewise. (output_call_frame_info): Remove unused variables `j', `fde_size' and `fde_pad'. (comp_unit_has_inlines): Hide declaration as per rest of file. (size_of_line_prolog): Correct typo in prototype. (add_arange): Likewise. (output_aranges): Likewise. (add_name_and_src_coords_attributes): Likewise. (gen_array_type_die): Likewise. (gen_inlined_subroutine_die): Likewise. (equate_decl_number_to_die): Remove unused variable `i'. (print_die): Reconcile format vs. args in fprintf's. (print_dwarf_line_table): Likewise. (output_die): Likewise. (output_line_info): Likewise. (add_subscript_info): Avoid an empty body in an else-statement. (gen_subprogram_die): Remove unused variable `fp_loc'. * dwarfout.c: Explicitly declare `next_pubname_number' as int. Protect `ordering_attribute' prototype with USE_ORDERING_ATTRIBUTE macro. Protect `src_coords_attribute' prototype with DWARF_DECL_COORDINATES macro. Hide `output_entry_point_die' prototype as in the rest of the file. Likewise for `output_pointer_type_die' and `output_reference_type_die'. Remove prototype for `type_of_for_scope'. (output_unsigned_leb128): Reconcile format vs. args in fprintf. (type_attribute): Add explicit braces to avoid ambiguous `else'. * final.c: Include <stdlib.h> and <string.h>/<strings.h>. (shorten_branches): Protect declaration of tmp_length with SHORTEN_WITH_ADJUST_INSN_LENGTH and ADJUST_INSN_LENGTH macros. (profile_function): Protect declaration of `sval' and `cxt' variables with appropriate macros. (final_scan_insn): Likewise for `note' variable. Add explicit braces to avoid empty body in an if-statement. (output_asm_insn): Move variable `i' inside macro conditional where it is used. Add parentheses around assignment used as truth value. (asm_fprintf) Likewise, likewise. * fix-header.c (main): Remove unused variable `done'. Protect declaration of `i' with FIXPROTO_IGNORE_LIST. * pexecute.c: Include <unistd.h>. Prototype `my_strerror'. * print-rtl.c (print_inline_rtx): Explicitly declare the parameter `ind'. * profile.c: Include <string.h>/<strings.h>. (instrument_arcs): Remove unused variables `note', `inverted', `zero' and `neg_one'. (branch_prob): Avoid empty body in an if-statement. * regclass.c: Include <stdlib.h>. (reg_alternate_class): Explicitly declare parameter `regno'. * regmove.c (regmove_optimize): Remove unused variable `p'. Add parentheses around assignment used as truth value. (find_matches): Remove unused variables `output_operand' and `matching_operand'. (fixup_match_1): Remove statement with no effect: "if (0) ;". * scan.c (sstring_append): Explicitly declare `count' as int. (scan_string): Explicitly declare parameter `init' as int. * sched.c: Include <stdlib.h>. (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |. (rank_for_schedule): Add parentheses around assignment used as truth value. (schedule_block): Likewise. (regno_use_in): Likewise. (schedule_insns): Remove unused variable `i'. * toplev.c: Include <stdlib.h> and <string.h>/<strings.h>. (v_message_with_decl): Remove unused variable `n'. (botch): Explicitly declare parameter `s' as char *. (main): Add parentheses around assignment used as truth value. * tree.c (make_node): Protect the variable `kind' with the GATHER_STATISTICS macro. (real_value_from_int_cst): Move variable `e' inside conditional macro area where it is used. (tree_last): Add parentheses around assignment used as truth value. (build1): Protect the variable `kind' with the GATHER_STATISTICS macro. (print_obstack_statistics): Reconcile format vs. args in fprintf. Protect variables `i', `total_nodes', and `total_bytes' with the GATHER_STATISTICS macro. Lots more -W -Wall warnings disappear. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17515 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c (dwarf2out_frame_init): Test value of DWARF2_UNWIND_INFO.law1998-01-261-3/+6
| | | | | | | * mips/sni-svr4.h: Define DWARF2_UNWIND_INFO as 0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17499 138bc75d-0d04-0410-961f-82ee72b054a4
* * alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO;rth1998-01-141-12/+12
| | | | | | | | | | | | | | | change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...). * caller-save.c, calls.c, combine.c, cse.c: Likewise. * dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise. * final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise. * halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise. * profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise. * reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise. * unroll.c, varasm.c: Likewise. * config/alpha/alpha.c, config/alpha/alpha.md: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17357 138bc75d-0d04-0410-961f-82ee72b054a4
* Bring in final gcc-2.8.0 changes.law1998-01-141-0/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17355 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree.c (build_range_type): Allow creation of ranges with no maximum.law1997-12-181-1/+9
| | | | | | | | | | | | | | * dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE. * dwarf2out.c (add_subscript_info): Likewise. * dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise. * sdbout.c (plain_type_1): Likewise. * stmt.c (pushcase_range, all_cases_count, node_has_high_bound): Likewise. * fold-const.c (int_const_binop, fold_convert, make_range, fold): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17142 138bc75d-0d04-0410-961f-82ee72b054a4
* /law1997-12-181-0/+33
| | | | | | | | * dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the frame pointer in the prologue. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17131 138bc75d-0d04-0410-961f-82ee72b054a4
* * reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c,rth1997-12-151-1/+1
| | | | | | | | | | | dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change. * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the SUBREG_REG if the word count is unchanged. * reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve subregs of identical word size for push_reload. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17105 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge from gcc-2.8law1997-12-071-20/+27
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16987 138bc75d-0d04-0410-961f-82ee72b054a4
* * integrate.c (output_inline_function): Just unset DECL_INLINE.jason1997-11-261-0/+1
| | | | | | | | | | | | Tue Nov 25 23:33:29 1997 scott snyder <snyder@d0sgif.fnal.gov> * dwarf2out.c (outout_call_frame_info): Ensure that the info has proper alignment. * libgcc2.c (__throw): Initialize HANDLER. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16724 138bc75d-0d04-0410-961f-82ee72b054a4
* Tue Nov 25 01:26:55 1997 Bruno Haible <haible@ilog.fr>:jason1997-11-251-2/+14
| | | | | | | | | | | | | * dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement. Mon Nov 24 22:41:55 1997 Jason Merrill <jason@yorick.cygnus.com> * except.c (get_dynamic_handler_chain): Build up a FUNCTION_DECL. * optabs.c (init_optabs): Lose get_dynamic_handler_chain_libfunc. * expr.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16696 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4.jason1997-11-201-12/+27
| | | | | | | | | Use assemble_name. (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Use assemble_name. (output_call_frame_info): Emit a \n after using it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16609 138bc75d-0d04-0410-961f-82ee72b054a4
* Wed Nov 19 12:03:04 1997 Philippe De Muyter <phdm@macqel.be>jason1997-11-191-1/+43
| | | | | | | | | | | | | * dwarf2out.c (CIE_LENGTH_LABEL, FDE_LENGTH_LABEL): New macros. (ASM_OUTPUT_DWARF_VALUE4): New macro. (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Define if SET_ASM_OP is defined. (output_call_frame_info): Do not output forward label differences if ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL is defined. * m68k/mot3300.h (SET_ASM_OP): Define when not using gas. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16584 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix gcc2 irix5 c-torture failures, EH/large frame errorswilson1997-11-181-1/+3
| | | | | | | | | | | * mips/mips.c (save_restore_insns): If gp_offset or fp_offset are large_int, emit two insns instead of one splitable insn. * dwarf2out.c (dwarf2out_frame_debug): When set cfa_store_offset from cfa_temp_value, use cfa_offset. Add assert checking that cfa_reg is SP. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16573 138bc75d-0d04-0410-961f-82ee72b054a4
* Minor spacing nit.law1997-11-141-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16477 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typo.law1997-11-121-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16443 138bc75d-0d04-0410-961f-82ee72b054a4
* * except.c: Do not include "assert.h".law1997-11-121-57/+89
| | | | | | | | | | | | | | | | | | | | | | | | | (save_eh_status): Turn asserts into conditional aborts. (restore_eh_status, scan_region): Likewise. * dwarfout.c: Do not include "assert.h". (bit_offset_attribute): Turn asserts into conditional aborts. (bit_size_attribute, output_inlined_enumeration_type_die): Likewise. (output_inlined_structure_type_die): Likewise. (output_inlined_union_type_die): Likewise (output_tagged_type_instantiation): Likewise. (dwarfout_file_scope_decl): Likewise. * dwarf2out.c: Do not include "assert.h" (expand_builtin_dwarf_reg_size): Turn asserts into conditional aborts. (reg_save, initial_return_save, dwarf2out_frame_debug): Likewise. (add_child_die, modified_type_die, add_bit_offset_attribute): Likewise. (add_bit_size_attribute, scope_die_for): Likewise. (output_pending_types_for_scope): Likewise. (get_inlined_enumeration_type_die): Likewise. (get_inlined_structure_type_die): Likewise. (get_inlined_union_type_die, gen_subprogram_die): Likewise. (gen_tagged_type_instantiation_die): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16442 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix nightly testing mips64-elf build failure.wilson1997-11-051-1/+10
| | | | | | | | * dwarf2out.c (expand_builtin_dwarf_reg_size): New variable mode. Convert CCmode to word_mode before calling GET_MODE_SIZE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16326 138bc75d-0d04-0410-961f-82ee72b054a4
* Update mainline egcs to gcc2 snapshot 971021.law1997-11-021-12/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16278 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c (output_call_frame_info): Fix length argumentlaw1997-11-011-4/+4
| | | | | | | | to ASM_OUTPUT_ASCII. (output_die, output_pubnames, output_line_info): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16262 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII tolaw1997-10-311-8/+33
| | | | | | | | | output ASCII by default. Only use ASM_OUTPUT_DWARF_STRING if flag_debug_asm is on. (output_die, output_pubnames, output_line_info): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16251 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c (output_call_frame_info): Use l1 instead of ".".jason1997-10-281-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16215 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32jason1997-10-261-16/+20
| | | | | | | | | | | | | | bit PC-relative offset. The exception range table pointer is now in the CIE. * frame.c (dwarf_cie, dwarf_fde): Rename CIE_pointer to CIE_delta. (count_fdes, add_fdes, get_cie): Adjust. (cie_info, extract_cie_info, __frame_state_for): Adjust eh_ptr uses. From H.J. Lu: * frame.c (count_fdes, add_fdes): Skip linked once FDE entries. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16192 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree.c (restore_tree_status): Also free up temporary storagejason1997-10-181-9/+13
| | | | | | | | | | | | | | | | | | | | | | | when we finish a toplevel function. (dump_tree_statistics): Print stats for backend obstacks. * libgcc2.c (__throw): Don't copy the return address. * dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address. * except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized). * toplev.c (main): Initialize exceptions_via_longjmp. * tree.c: Add extra_inline_obstacks. (save_tree_status): Use it. (restore_tree_status): If this is a toplevel inline obstack and we didn't want to save anything on it, recycle it. (print_inline_obstack_statistics): New fn. * function.c (pop_function_context_from): Pass context to restore_tree_status. * obstack.h (obstack_empty_p): New macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16050 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c (output_call_frame_info): Reinstate last changelaw1997-10-071-0/+8
| | | | | | | using flag_debug_asm check instead of flag_verbose_asm. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15865 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove incorrect change from Manfred Hollstein.wilson1997-10-071-8/+0
| | | | | | | * dwarf2out.c (output_call_frame_info): Remove last change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15864 138bc75d-0d04-0410-961f-82ee72b054a4
* * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignmentlaw1997-10-071-0/+9
| | | | | | | | | instead of aborting. * dwarf2out.c (output_call_frame_info): Call app_enable and app_disable to let GNU as accept the generated comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15856 138bc75d-0d04-0410-961f-82ee72b054a4
* Declare get_file_function_namemeissner1997-10-071-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15855 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size.jason1997-09-271-0/+77
| | | | | | | | | | | | * tree.h (built_in_function): Likewise. * expr.c (expand_builtin): Likewise. * except.h: Likewise. * dwarf2out.c (expand_builtin_dwarf_reg_size): New fn. * libgcc2.c (copy_reg): New fn. (__throw): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15750 138bc75d-0d04-0410-961f-82ee72b054a4
* * frame.c: Include gansidecl.h for PROTO.law1997-09-271-2/+1
| | | | | | | | | | | | | | | * dwarf2out.c: Move inclusion of dwarf2.h down so that PROTO is defined. Don't declare dwarf2out_cfi_label here. * dwarf2.h: Add declarations of DWARF2 unwind info support functions. * m68k.c: Include dwarf2.h. (output_function_prologue): Add dwarf2 support. * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM): New macros. (INCOMING_FRAME_SP_OFFSET): Likewise. Update m68k patch from Andreas. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15740 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c: s/flag_verbose_asm/flag_debug_asm/jason1997-09-251-86/+86
| | | | | | | | | * final.c (final_end_function): Also do dwarf2 thing if DWARF2_DEBUGGING_INFO. (final_start_function): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15713 138bc75d-0d04-0410-961f-82ee72b054a4
* * final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.jason1997-09-181-26/+46
| | | | | | | | | | | | * dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along. (dwarf2out_stack_adjust): A BARRIER resets the args space to 0. * except.c (end_eh_unwinder): Subtract 1 from return address. * libgcc2.c (__throw): Likewise. (find_exception_handler): Don't change PC here. Compare end with >. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15554 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c (gen_subprogram_die): Handle redefinition of anlaw1997-09-161-2/+50
| | | | | | | | | | | | | | | extern inline function. * dwarf2out.c (reg_loc_descriptor): Fix prototype. (concat_loc_descriptor): New function. (loc_descriptor): Call it. (add_AT_location_description): Also elide the descriptor if both halves of a CONCAT are pseudos. (add_location_or_const_value_attribute): Recognize CONCAT too. Bring over from devo/fsf. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15470 138bc75d-0d04-0410-961f-82ee72b054a4
* dwarf2 EH supportjason1997-09-101-66/+205
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15255 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLELjason1997-09-081-6/+14
| | | | | | | | | | prologue insn, only the first elt is significant. (output_call_frame_info): For exception handling, always use 4-byte fields as specified by the dwarf2 spec. Don't skip trivial FDEs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15154 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarfout2.c (build_abbrev_table): Use xrealloc, not xmalloclaw1997-08-291-1/+1
| | | | | | | to reallocate abbrev_die_table. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14997 138bc75d-0d04-0410-961f-82ee72b054a4
* (gen_compile_unit_die): Add support for Pascal.kenner1997-08-021-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14628 138bc75d-0d04-0410-961f-82ee72b054a4
* xmerrill1997-07-291-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14552 138bc75d-0d04-0410-961f-82ee72b054a4
* xmerrill1997-07-281-27/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14543 138bc75d-0d04-0410-961f-82ee72b054a4
* xmerrill1997-07-141-3/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14445 138bc75d-0d04-0410-961f-82ee72b054a4
* (gen_subprogram_die): When handling declarations, testwilson1997-07-081-1/+1
| | | | | | | DECL_CONTEXT not decl_class_context before equate_decl_number_to_die. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14403 138bc75d-0d04-0410-961f-82ee72b054a4
* xmerrill1997-07-041-198/+138
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14390 138bc75d-0d04-0410-961f-82ee72b054a4
* xmerrill1997-06-251-14/+71
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14321 138bc75d-0d04-0410-961f-82ee72b054a4
* (text_end_label): Make it static.wilson1997-06-201-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14263 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_line_info): Always use DW_LNE_set_address insteadwilson1997-06-201-39/+164
| | | | | | | | of DW_LNS_fixed_advance_pc for line number addresses. (size_of_line_info): Adjust size calculation as per above change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14262 138bc75d-0d04-0410-961f-82ee72b054a4