summaryrefslogtreecommitdiff
path: root/gcc/dwarfout.c
Commit message (Collapse)AuthorAgeFilesLines
* dwarfout.c (getpwd): Add prototype.Jeff Law1998-06-191-6/+10
| | | | | | | | | | | | | d * dwarfout.c (getpwd): Add prototype. (is_pseudo_reg, type_main_variant, is_tagged_type, is_redundant_typedef): New declaration. (output_decl): Add prototype for FUNC. (type_main_variant): Make it static. (is_tagged_type): Likewise. (is_redundant_typedef): Likewise. From-SVN: r20618
* m68k.h: Declare more functions used in macros.Andreas Schwab1998-05-231-0/+4
| | | | | | | | | | | | | | | | | | | * m68k.h: Declare more functions used in macros. (REG_CLASS_CONTENTS): Completely embrace initializer. * m68k.md (adddi3, subdi3): Add abort call to avoid warning about returning no value. * cse.c (find_best_addr): Declare p and found_better only if needed. * dbxout.c (dbxout_continue): Define only if DBX_CONTIN_LENGTH > 0. * dwarfout.c (string_length_attribute): #if 0 away. * function.c (expand_function_end): Define varible blktramp only if needed. * jump.c (find_insert_position): Define only if !HAVE_cc0. * loop.c (combine_givs_p): Define variable tem only if needed. * real.c: Comment out unused functions eabs, eround, e{24,53,64,113}toasc and eiinfin. From-SVN: r19998
* Fix SCO5 namespace/dwarf interaction bug.Jim Wilson1998-05-191-1/+11
| | | | | | | * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Ignore LANG_TYPE trees with DECL_SOURCE_LINE of 0. From-SVN: r19883
* Warning Fixes:Kaveh R. Ghazi1998-05-191-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (print-rtl.o): Depend on bitmap.h. (dbxout.o): Depend on toplev.h. ($(SCHED_PREFIX)sched.o): Likewise. ($(out_object_file)): Likewise for system.h and toplev.h. (cppmain.o): Depend on gansidecl.h. (cpplib.o): Likewise. (cpperror.o): Likewise. (cppexp.o): Likewise. (cpphash.o): Likewise. (cppalloc.o): Likewise. (fix-header.o): Depend on cpplib.h and cpphash.h. (scan-decls.o): Depend on gansidecl.h. * basic-block.h (free_regset_vector): Add prototype. * cccp.c (check_precompiled): Mark parameter `fname' with ATTRIBUTE_UNUSED. (do_assert): Likewise for `op' and `keyword'. (do_unassert): Likewise. (do_line): Likewise for `keyword'. (do_error): Likewise for `op' and `keyword'. (do_warning): Likewise. (do_ident): Likewise for `keyword'. (do_pragma): Likewise for `limit', `op' and `keyword'. (do_sccs): Likewise. (do_if): Likewise for `keyword'. (do_elif): Likewise. (do_else): Likewise. (do_endif): Likewise. * collect2.c (getenv): Remove redundant prototype. (collect_exit, collect_execute, dump_file): Likewise. (dump_list): Wrap prototype and definition in COLLECT_EXPORT_LIST. (dump_prefix_list): Hide prototype and definition. * sparc.c: Include toplev.h. (intreg_operand): Mark parameter `mode' with ATTRIBUTE_UNUSED. (symbolic_memory_operand): Likewise. (sp64_medium_pic_operand): Likewise. (data_segment_operand): Likewise. (text_segment_operand): Likewise. (splittable_symbolic_memory_operand): Likewise. (splittable_immediate_memory_operand): Likewise. (eq_or_neq): Likewise. (normal_comp_operator): Likewise. (noov_compare_op): Likewise. (v9_regcmp_op): Likewise. (v8plus_regcmp_op): Likewise. (extend_op): Likewise. (cc_arithop): Likewise. (cc_arithopn): Likewise. (small_int): Likewise. (uns_small_int): Likewise. (clobbered_register): Likewise. (legitimize_pic_address): Likewise. (delay_operand): Likewise. (sparc_builtin_saveregs): Remove unused variable `stdarg'. * sparc.h (order_regs_for_local_alloc, eligible_for_return_delay, sparc_issue_rate, v8plus_regcmp_p): Add prototypes. * sparc.md (cmpdi_v8plus): Add abort for default case in switch. * cppalloc.c: Include gansidecl.h. * cpperror.c: Include stdarg.h/varargs.h and gansidecl.h. (cpp_file_line_for_message): Mark parameter `pfile' with ATTRIBUTE_UNUSED. (v_cpp_message): New function. (cpp_message): Use it. Also convert to variable arguments. (cpp_fatal): Likewise. (cpp_pfatal_with_name): Constify parameter `name'. * cppexp.c: Move gansidecl.h before cpplib.h. * cpphash.c: Likewise. * cpphash.h (hashf, delete_macro): Add prototypes. * cpplib.c: Include stdarg.h/varargs.h and move gansidecl.h before cpplib.h. Don't include errno.h. (update_path): Add arguments to prototype. (cpp_fatal, cpp_file_line_for_message, cpp_message, delete_macro, cpp_print_containing_files): Remove redundant prototypes. (cpp_hash_cleanup, add_import, append_include_chain, make_assertion, path_include, initialize_builtins, initialize_char_syntax, finclude, validate_else, comp_def_part, lookup_import, redundant_include_p, is_system_include, read_name_map, read_filename_string, open_include_file, check_macro_name, compare_defs, compare_token_lists, eval_if_expression, change_newlines): Add prototype arguments. (hashf): Remove redundant prototype. (read_token_list, free_token_list, safe_read, xcalloc, savestring, conditional_skip, skip_if_group): Add prototype arguments. (fdopen): Remove redundant prototype. (do_define, do_line, do_include, do_undef, do_error, do_pragma, do_ident, do_if, do_xifdef, do_else, do_elif, do_endif, do_sccs, do_once, do_assert, do_unassert, do_warning): Add prototype arguments. (struct directive): Add prototype arguments to function pointer member `func'. (handle_directive): Add missing arguments to call to `do_line'. (do_include): Mark parameters `unused1' and `unused2' with ATTRIBUTE_UNUSED. (do_line): Likewise for `keyword' and new parameters `unused1' and `unused2'. (do_error): Likewise for `keyword'. (do_warning): Likewise. Also add missing argument `pfile' in call to cpp_pedwarn. (do_once): Mark parameter `keyword', `unused1' and `unused2' with ATTRIBUTE_UNUSED. (do_ident): Likewise for `keyword', `buf' and `limit'. (do_pragma): Likewise. Also add missing arguments in call to do_once. (do_sccs): Mark parameter `keyword', `buf' and `limit' with ATTRIBUTE_UNUSED. (do_if): Likewise for `keyword'. (do_elif): Likewise. (eval_if_expression): Likewise for `buf' and `length'. (do_xifdef): Likewise for `unused1' and `unused2'. (do_else): Likewise for `keyword', `buf' and `limit'. (do_endif): Likewise. (parse_name): Add missing argument `pfile' in call to cpp_pedwarn. (cpp_handle_options): Remove superfluous NULL argument in call to cpp_fatal. (cpp_handle_options): Likewise. (do_assert): Mark parameter `keyword', `buf' and `limit' with ATTRIBUTE_UNUSED. (do_unassert): Likewise. (cpp_print_file_and_line): Add missing argument `pfile' in call to cpp_file_line_for_message. (v_cpp_error): New function. (cpp_error): Use it. Also accept variable arguments. (v_cpp_warning): New function. (cpp_warning): Use it. Also accept variable arguments. (cpp_pedwarn): Accept variable arguments. (v_cpp_error_with_line): New function (cpp_error_with_line): Use it. Accept variable arguments. (v_cpp_warning_with_line): New function. (cpp_warning_with_line): Use it. Accept variable arguments. Hide definition. (cpp_pedwarn_with_line): Accept variable arguments. (cpp_pedwarn_with_file_and_line): Likewise. (cpp_error_from_errno): Constify parameter `name'. Add missing argument `pfile' in call to cpp_file_line_for_message. (cpp_perror_with_name): Constify parameter `name'. * cpplib.h: Define PARAMS() in terms of PROTO(). (fatal): Remove redundant prototype. (cpp_error, cpp_warning, cpp_pedwarn, cpp_error_with_line, cpp_pedwarn_with_line, cpp_pedwarn_with_file_and_line, cpp_error_from_errno, cpp_perror_with_name, cpp_pfatal_with_name, cpp_fatal, cpp_message, cpp_pfatal_with_name, cpp_file_line_for_message, cpp_print_containing_files): Add arguments to prototypes. (scan_decls, cpp_finish): Add prototypes. * cppmain.c: Include gansidecl.h. (main): Remove unused variable `i'. * dbxout.c: Include toplev.h. * demangle.h (do_tlink, collect_execute, collect_exit, collect_wait, dump_file, file_exists): Add prototype. * dwarf2out.c (dwarf_type_encoding_name, decl_start_label): Hide prototype and definition. (gen_unspecified_parameters_die): Don't assign results of call to function new_die() to unused variable `parm_die'. (dwarf2out_line): Mark parameter `filename' with ATTRIBUTE_UNUSED. (dwarf2out_define): Likewise for `lineno' and `buffer'. * dwarfout.c (output_unsigned_leb128, output_signed_leb128): Hide prototype and definition. (output_die): Add prototype arguments to function pointer arg. (output_unspecified_parameters_die): Mark parameter `arg' with ATTRIBUTE_UNUSED. * except.c (output_exception_table_entry): Remove unused variable `eh_entry'. * except.h (expand_fixup_region_start, expand_fixup_region_end): Add prototypes. * expr.c (do_jump_by_parts_equality_rtx): Remove prototype. * expr.h (do_jump_by_parts_equality_rtx): Add prototype. * fix-header.c: Include stdarg.h/varargs.h, move gansidecl.h before cpplib.h, include cpphash.h, remove redundant prototype of cpp_fatal, don't define `const', add a prototype for `fatal'. (cpp_file_line_for_message): Add missing arguments `pfile'. (v_cpp_message): New function. (cpp_message): Use it. (v_fatal): New function. (fatal, cpp_fatal): Use it. (cpp_pfatal_with_name): Constify parameter `name'. * flow.c (free_regset_vector): Remove redundant prototype. * function.c (round_down): Wrap prototype and definition with macro ARGS_GROW_DOWNWARD. (record_insns): Wrap prototype and definition with defined (HAVE_prologue) || defined (HAVE_epilogue). * gansidecl.h (ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5): New macros. * gen-protos.c: Include gansidecl.h. (hashf): Don't make it static, constify parameter `name'. * genattrtab.c (check_attr_test): Change XEXP() to XSTR() to match specifier %s in calls to function `fatal'. * haifa-sched.c: Include toplev.h. (find_rgns): Remove unused variable `j'. * integrate.c (note_modified_parmregs): Mark parameter `x' with ATTRIBUTE_UNUSED. (mark_stores): Likewise. * jump.c (mark_modified_reg): Likewise. * output.h (insn_current_reference_address): Add prototype. (eh_frame_section): Likewise. * print-rtl.c: Include bitmap.h. * reload1.c (reload): Wrap variables `note' and `next' in macro PRESERVE_DEATH_INFO_REGNO_P. (forget_old_reloads_1): Mark parameter `ignored' with ATTRIBUTE_UNUSED. (choose_reload_regs): Remove unused variable `in'. (reload_cse_invalidate_mem): Mark parameter `ignore' with ATTRIBUTE_UNUSED. (reload_cse_check_clobber): Likewise. * rtl.h (expand_null_return, reg_classes_intersect_p): Add prototype. (mark_elimination): Fix typo in prototype. * scan-decls.c: Include gansidecl.h. * tree.h (using_eh_for_cleanups, supports_one_only): Add prototype. From-SVN: r19867
* dwarfout.h, [...]: New files.Robert Lipe1998-05-181-0/+1
| | | | | | | | | | | | | * dwarfout.h, dwarf2out.h, dbxout.h, sdbout.h: New files. Prototypes for externally used functions in respective C files. * dwarfout.c, dbxout.c, dwarf2out.c, sdbout.c, toplev,c, final.c: Include above files. * Makefile.in (toplev.o): Add dependency for above four headers. (final.o): Likewise. (dwarfout.o, dbxout.o, dwarf2out.o, sdbout.o): Depend on four respective header files. From-SVN: r19835
* typo typo fixes fixesJeff Law1998-05-061-5/+5
| | | | From-SVN: r19601
* Wed May 6 22:32:37 CDT 1998 Robert Lipe <robertl@dgii.com>Robert Lipe1998-05-061-0/+1
| | | | | | | | * Makefile.in (dwarfout.o) Add toplev.h dependency. * dwarfout.c, i386.c: Include toplev.h * toplev.h: (pfatal_with_name) Add prototype. From-SVN: r19600
* tree.def: Add NAMESPACE_DECL.Jason Merrill1998-05-041-0/+3
| | | | | | | | | | | | | * tree.def: Add NAMESPACE_DECL. * dwarfout.c (type_ok_for_scope): Ignore NAMESPACE_DECLs for now. * dwarf2out.c (push_decl_scope): Likewise. (scope_die_for): Likewise. * tree.c (decl_function_context): Use TREE_CODE_CLASS to determine how to get next context level. * cp-tree.def: Remove NAMESPACE_DECL. * cp/Makefile.in: Add .SUFFIXES. From-SVN: r19539
* except.c (push_eh_entry): Add prototype.Jeffrey A Law1998-04-161-0/+3
| | | | | | | | | | | | * except.c (push_eh_entry): Add prototype. (pop_eh_entry, enqueue_eh_entry, dequeu_eh_entry): Likewise. (call_get_eh_context, start_dynamic_cleanup): Likewise. (start_dynamic_handler, can_throw): Likewise. (output_exception_table_entry, scan_region): Likewise. (eh_regs, set_insn_eh_region): Likewise. Also fix typo in previous dwarfout change. From-SVN: r19249
* Major cutover to using system.h:Kaveh R. Ghazi1998-03-201-30/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. From-SVN: r18726
* c-lex.c: Include <stdlib.h> and <string.h>/<strings.h>.Kaveh R. Ghazi1998-01-271-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d * 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. From-SVN: r17518
* Patch from Joern to fix dwarf1 bug: emit debug info for types defined inJ"orn Rennecke1998-01-261-1/+11
| | | | | | | | | | | parameter lists. * c-decl.c (grokdeclarator): Get parameter tags from last_function_parm_tags. * dwarfout.c (output_formal_types): Set TREE_ASM_WRITTEN before traversing the parameter types. (output_type): No early exit for FUNCTION_TYPE / METHOD_TYPE context. From-SVN: r17490
* dwarfout.c (byte_size_attribute): Simplify and fix - don't need special (and ↵Per Bothner1998-01-221-11/+1
| | | | | | | | | | incomplete) handling for Chill arrays. 8 * dwarfout.c (byte_size_attribute): Simplify and fix - don't need special (and incomplete) handling for Chill arrays. From-SVN: r17456
* Bring in final gcc-2.8.0 changes.Jeff Law1998-01-141-0/+9
| | | | From-SVN: r17355
* tree.c (build_range_type): Allow creation of ranges with no maximum.Richard Henderson1997-12-181-6/+5
| | | | | | | | | | | | | | * tree.c (build_range_type): Allow creation of ranges with no maximum. * 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. From-SVN: r17142
* reload.h, [...]: Revert March 15 change.Richard Henderson1997-12-151-2/+2
| | | | | | | | | | | * reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c, 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. From-SVN: r17105
* Merge from gcc-2.8Jeff Law1997-12-061-3/+20
| | | | From-SVN: r16987
* O Bring in changes from release branch (egcs_ss_971127).Jeff Law1997-12-011-1/+16
| | | | From-SVN: r16866
* dwarfout.c (byte_size_attribute): Add local var upper_bound and add case to ↵Fred Fish1997-11-141-4/+14
| | | | | | | | | | | | handle STRING_TYPE. * dwarfout.c (byte_size_attribute): Add local var upper_bound and add case to handle STRING_TYPE. * dwarfout.c (output_string_type_die): Fix code to generate correct string length attribute for fixed length strings. Still needs support for varying length strings. From-SVN: r16498
* except.c: Do not include "assert.h".Jeffrey A Law1997-11-121-13/+20
| | | | | | | | | | | | | | | | | | | | | | | | | * except.c: Do not include "assert.h". (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. From-SVN: r16442
* Update mainline egcs to gcc2 snapshot 971021.Jeff Law1997-11-021-48/+56
| | | | From-SVN: r16278
* dwarfout.c (dwarfout_file_scope_decl, [...]): Check TYPE_DECL_IS_STUB ↵Jim Wilson1997-08-261-1/+1
| | | | | | | | | instead of DECL_NAME. * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check TYPE_DECL_IS_STUB instead of DECL_NAME. From-SVN: r14944
* (output_compile_unit_die): Add support for Pascal.Richard Kenner1997-08-021-0/+2
| | | | From-SVN: r14627
* xJason Merrill1997-07-291-1/+1
| | | | From-SVN: r14552
* xJason Merrill1997-07-281-1/+7
| | | | From-SVN: r14543
* (ASM_OUTPUT_SOURCE_FILENAME): Delete default value.Richard Kenner1997-07-271-8/+0
| | | | From-SVN: r14538
* (field_byte_offset): Check for object_offset_in_bitsJim Wilson1997-06-241-0/+19
| | | | | | > bitpos_int, and recompute object_offset_in_bytes if true. From-SVN: r14299
* Change all calls to eliminate_regs.Richard Kenner1997-03-151-2/+2
| | | | From-SVN: r13705
* (root_type_1, write_modifier_bytes_1): New functions.Jim Wilson1997-03-061-7/+42
| | | | | | | | | (root_type): Call root_type_1. (write_modifier_bytes): Call write_modifier_bytes_1. (output_type, case POINTER_TYPE): Set TREE_ASM_WRITTEN before recursive call. From-SVN: r13693
* (output_type): Do early exit only if TYPE_CONTEXT is NULL or if TYPE_CONTEXT ↵Jim Wilson1997-02-121-1/+4
| | | | | | | | | is another type (e.g. (output_type): Do early exit only if TYPE_CONTEXT is NULL or if TYPE_CONTEXT is another type (e.g. a nested type). From-SVN: r13630
* (dwarfout_line): Push to LINE_SECTION after calling lookup_filename.Richard Kenner1997-01-101-1/+1
| | | | From-SVN: r13480
* (type_attribute): Ignore any subtype for now.Richard Kenner1997-01-061-3/+9
| | | | From-SVN: r13386
* (location_or_const_value_attribute, case CONCAT): Add.Jim Wilson1996-12-161-0/+9
| | | | From-SVN: r13313
* xJason Merrill1996-12-091-112/+223
| | | | From-SVN: r13258
* (output_mem_loc_descriptor, case MULT): Add.Jim Wilson1996-12-091-1/+10
| | | | | | (dwarf_fund_type_name, case FT_unsigned_int64): Fix typo. From-SVN: r13254
* xJason Merrill1996-11-151-1/+4
| | | | From-SVN: r13178
* xJason Merrill1996-11-151-5/+2
| | | | From-SVN: r13160
* tweakJason Merrill1996-10-181-4/+47
| | | | From-SVN: r12976
* (output_bound_representation): Fix typo in prototype.Torbjorn Granlund1996-10-151-1/+1
| | | | From-SVN: r12961
* *** empty log message ***Jason Merrill1996-10-071-75/+36
| | | | From-SVN: r12910
* (DWARF_VERSION): Define as 1 if not already defined.Richard Kenner1996-09-221-7/+5
| | | | From-SVN: r12770
* (output_bound_representation): Fix typo.Doug Evans1996-07-261-1/+1
| | | | From-SVN: r12569
* (output_bound_representation): Treat default case as variable bounds,Richard Kenner1996-07-201-65/+59
| | | | | | then look inside for SAVE_EXPR. From-SVN: r12543
* Check DWARF_VERSION macro.Jim Wilson1996-07-181-1/+2
| | | | From-SVN: r12524
* formatting tweaksMike Stump1996-07-031-18/+18
| | | | From-SVN: r12390
* If not GNUC, make `inline' null; otherwise, leave alone.Richard Kenner1996-05-191-59/+158
| | | | | | | Add `static' to inline functions. Add prototypes for static function. From-SVN: r12043
* * dwarfout.c (*): flag_verbose_asm renamed to flag_debug_asm.Doug Evans1996-05-171-9/+9
| | | | From-SVN: r12004
* (xstrdup): Moved from here.Richard Kenner1996-03-041-11/+1
| | | | From-SVN: r11407
* (output_compile_unit_die): Handle language_string of "GNU F77".Richard Kenner1995-10-261-1/+3
| | | | From-SVN: r10525
* Update FSF address.Richard Kenner1995-06-151-1/+2
| | | | From-SVN: r9959