1. 06 Mar, 2000 1 commit
    • real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to LONG_DOUBLE_TYPE_SIZE if not defined. · 4710d3eb
      	* real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
      	LONG_DOUBLE_TYPE_SIZE if not defined.
      	Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
      	LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
      	* real.c: Likewise.
      	* gengenrtl.c: Likewise.
      	* print-rtl.c: Likewise.
      	* rtl.c: Likewise.
      	* config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
      	MASK_LONG_DOUBLE_128.
      	* config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
      	* config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
      	* config/sparc/linux64 (TARGET_DEFAULT): Likewise.
      	(SUBTARGET_SWITCHES): Define.
      	(CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
      	with -mlong-double-128.
      	(LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
      	(MAX_LONG_DOUBLE_TYPE_SIZE): Define.
      	(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
      	(CC1_SPEC): Include -mlong-double-{64,128} as needed.
      	* config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
      	(CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
      	with -mlong-double-128.
      	(LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
      	(MAX_LONG_DOUBLE_TYPE_SIZE): Define.
      	(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
      	* config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
      	TARGET_LONG_DOUBLE_128): Define.
      	* config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
      	* config/sparc/sparc.c (sparc_override_options): Disallow 64bit
      	long double on TARGET_ARCH64.
      
      From-SVN: r32367
      Jakub Jelinek committed
  2. 21 Feb, 2000 1 commit
    • defaults.h (ASM_OUTPUT_ASCII): Constify a char*. · 47ee9bcb
      	* defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
      
      	* flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
      	fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
      	(life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
      
      	* haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
      
      	* integrate.c (compare_blocks, find_block): Likewise.
      
      	* rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
      
      	* rtl.h (set_file_and_line_for_stmt): Constify a char*.
      
      	* stmt.c (stmt_status, set_file_and_line_for_stmt,
      	expand_asm_operands): Likewise.
      
      From-SVN: r32094
      Kaveh R. Ghazi committed
  3. 18 Feb, 2000 1 commit
    • gcc.texi (Bug Reporting): Refer to bugs.html. · 8b97e23b
      	* gcc.texi (Bug Reporting): Refer to bugs.html.
      	(Bug Lists): Likewise.
      	* system.h (GCCBUGURL): New preprocessor define.
      	* rtl.c (fancy_abort): Use it.
      	* gcc.c (main): Likewise.
      	* typeck2.c (my_friendly_abort): Use GCCBUGURL.
      	* g77spec.c (lang_specific_driver): Use GCCBUGURL.
      	* gjavah.c (help): Use GCCBUGURL.
      	* jv-scan.c (help): Likewise.
      	* jcf-dump.c (help): Likewise.
      
      From-SVN: r32049
      Martin v. Löwis committed
  4. 17 Jan, 2000 2 commits
  5. 07 Jan, 2000 1 commit
  6. 26 Dec, 1999 1 commit
    • acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING, GC_CHECKING, GC_ALWAYS_COLLECT. · f4524c9e
      1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
      
      	* acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
      	GC_CHECKING, GC_ALWAYS_COLLECT.
      	* configure.in: Allow --enable-checking with an argument
      	listing check modes to enable.
      	* config.in, configure: Rebuilt.
      	* ggc-page.c, ggc-simple.c: Define GGC_POISON (and
      	GGC_ALWAYS_VERIFY for ggc-simple.c) only if
      	ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
      	ENABLE_GC_ALWAYS_COLLECT.
      	* rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
      	throughout.
      	* tree.h, tree.c: Change ENABLE_CHECKING to
      	ENABLE_TREE_CHECKING throughout.
      
      	* cp-tree.h: Replace ENABLE_CHECKING with ENABLE_TREE_CHECKING
      	throughout.
      
      From-SVN: r31093
      Zack Weinberg committed
  7. 10 Nov, 1999 1 commit
    • ansidecl.h: Define and test `GCC_VERSION', not `HAVE_GCC_VERSION'. · 6c9821b7
      include:
              * ansidecl.h: Define and test `GCC_VERSION', not `HAVE_GCC_VERSION'.
      
      gcc:
              * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
      
              * gansidecl.h: Likewise.
      
              * rtl.c: Likewise.
      
              * rtl.h: Likewise.
      
              * toplev.h: Likewise.
      
              * tree.c: Likewise.
      
              * tree.h: Likewise.
      
              * varray.c: Likewise.
      
              * varray.h: Likewise.
      
      gcc/cp:
              * cp-tree.h: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
      
      gcc/f:
              * proj.h: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
      
      Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
      
      From-SVN: r30477
      Philippe De Muyter committed
  8. 04 Nov, 1999 2 commits
  9. 02 Nov, 1999 1 commit
  10. 01 Nov, 1999 1 commit
    • [multiple changes] · 14a774a9
      Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
      
      	* gcov.c (DIR_SEPARATOR): Provide default.
      	(output_data): Add test for MS-DOS format absolute filename.
      	(fancy_abort): Correct program name.
      	(open_files): Open all files in binary mode.
      	* libgcc2.c (__bb_exit_func): Likewise.
      
      	* profile.c (init_branch_prob): Specify binary when opening files.
      
      	* flags.h (flag_unwind_tables): New decl.
      	* toplev.c (flag_unwind_table): New definition.
      	(f_options): Add -funwind-tables.
      	(decode_g_option): Clarify warning when unknown -g option is given.
      	(rest_of_compilation): If inside an inlined external function,
      	pretend we are just being declared.
      
      	* dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
      	(dwarf2out_frame_finish): Likewise.
      
      Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
      
      	* flow.c (propagate_block): When the last reference to a label
       	before an ADDR_VEC is deleted because the reference is a dead
       	store, delete the ADDR_VEC.
      
      Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
      
      	* fold-const.c (merge_ranges): In not in0, but in1, handle
      	upper bounds equal like subset case.
      
      Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
      
      	* dbxout.c (dbxout_parms): Generate a second stabs line for parameters
      	passed in a register but moved to the stack.
      
      Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
      
      	* gcc.c (pass_exit_codes, greatest_status): New variables.
      	(struct option_map): Add entry for "--pass-exit-codes".
      	(execute): Update greatest_status if error.
      	(display_help): Add documentation for -pass-exit-codes.
      	(process_command): Handle -pass-exit-codes.
      	(main): Look at pass_exit_codes and greatest_status on call to exit.
      
      Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
      
      	* reload.c (find_reloads): Refine test for no input reload
      	case to not includes reloads emitted after insn.
      
      	* function.c (find_temp_slots_from_address): Handle sum involving
      	a register that points to a temp slot.
      	(update_temp_slot_address): Make recursive call if both old and
      	new are PLUS with a common operand.
      	* calls.c (expand_call): Mark temp slot for result as having
      	address taken.
      
      	* rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
      
      	* gcc.c (process_command): Add standard_exec_prefix with "GCC"
      	component as well as "BINUTILS".
      
      	* integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
      	* integrate.c (copy_rtx_and_substitute): Likewise.
      	(expand_inline_function, integrate_parm_decls, integrate_decl_tree):
      	All callers changed.
      	* unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
      
      	* dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
      	gdb extensions, write size of type; also be more consistent
      	in using references when this is a subtype.
      
      	* pa.md (extv, extzv, insv): Use define_expand to reject constant
      	that is out of range.
      
      	* loop.c (unknown_constant_address_altered): New variable.
      	(prescan_loop): Initialize it.
      	(note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
      	(invariant_p, case MEM): Remove handling for volatile and readony;
      	check new variable if readonly.
      	(check_dbra_loop): Chdeck unknown_constant_address_altered.
      
      	* cse.c (canon_hash, case MEM): Do not record if BLKmode.
      	(addr_affects_sp_p): Removed from note_mem_written and only
      	define #ifdef AUTO_INC_DEC.
      
      	* alpha.c (input_operand, case ADDRESSOF): Treat as REG.
      
      	* regclass.c (record_reg_classes): Properly handle register move
      	directions.
      
      	* varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
      	Don't think valid if both operands are invalid.
      	(struct constant_descriptor): New field RTL.
      	(mark_const_hash_entry): Mark it.
      	(record_constant{,_rtx}): Initialize it.
      	(output_constant_def): Allocate RTL in permanent obstack and
      	save in table.
      	({record,compare}_constant_1): Modes must match for
      	CONSTRUCTOR of ARRAY_TYPE.
      
      	* c-common.h (initializer_constant_valid_p): Delete decl from here.
      	* output.h (initializer_constant_valid_p): Move decl to here.
      	* c-common.c (initializer_constant_valid_p): Delete function from here.
      	* varasm.c (initializer_constant_valid_p): Move function to here.
      
      	* tree.h (STRIP_SIGN_NOPS): New macro.
      	* fold-const.c (optimize_minmax_comparison): New function.
      	(invert_truthvalue, case WITH_RECORD_EXPR): New case.
      	(fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
      	(fold, case EQ_EXPR): Call optimize_minmax_comparison and add
      	cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
      	widening conversions.
      	(fold, case LE_EXPR): Rework changing unsigned to signed comparisons
      	to look at size of mode, not precision of type; also add missing cases.
      	(optimize_bit_field_compare, decode_field_reference): Don't try to
      	optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
      
      	* dwarf2out.c (ctype.h): Include.
      	(dwarf2out_set_demangle_name_func): New function.
      	(size_of_line_info): Deleted.
      	(output_line_info): Compute size of line info table from difference
      	of labels.
      	(base_type_die, add_name_attribute): Call demangle function, if any.
      	(field_byte_offset): Use bits per word for variable length fields.
      	(gen_array_type_die): Add array name.
      	(gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
      	(dwarf2out_add_library_unit_info): New function.
      
      	* explow.c (set_stack_check_libfunc): New function.
      	(stack_check_libfunc): New static variable.
      	(probe_stack_range): Allow front-end to set up a libfunc to call.
      
      	* combine.c (simplify_comparison): When making comparison in wider
      	mode, check for having commuted an AND and a SUBREG.
      	(contains_muldiv): New function.
      	(try_combine): Call it when dividing a PARALLEL.
      	(simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
      	(simplify_comparison, case ASHIFTRT): Recognize sign-extension of
      	a PLUS.
      	(record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
      	use one of the CLOBBERs instead.
      	(if_then_else_cond): If comparing against zero, just return thing
      	being compared.
      
      	* optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
      	Don't generate shifts and subtract if have conditional arithmetic.
      
      	* rtl.h (delete_barrier): New declaration.
      	* jump.c (jump_optimize): Set up to handle conditional call.
      	In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
      	(delete_barrier): New function.
      
      	* rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
      
      	* recog.c (nonmemory_operand): Accept ADDRESSOF.
      
      	* tree.c (build_type_attribute_variant): Push to obstack of
      	ttype around type_hash_canon call.
      
      	* expr.c (placeholder_list): Move decl to file scope.
      	(expand_expr): Don't force access to volatile just because its
      	address is taken.
      	If ignoring reference operations, just expand the operands.
      	(expand_expr, case COMPONENT_REF): Propagate
      	EXPAND_CONST_ADDRESS to recursive call when expanding inner.
      	Refine test for using bitfield operations vs pointer punning.
      	(expand_expr, case CONVERT_EXPR): If converting to
      	BLKmode UNION_TYPE from BLKmode, just return inner object.
      	Use proper mode in store_field call.
      	Properly set sizes of object to store and total size in store_field
      	call for convert to union.
      	(expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
      	memory (like for ADDR_EXPR).  Also, don't put constant in register if
      	we'll want it in memory.
      	(readonly_fields_p): New function.
      	(expand_expr, case INDIRECT_REF): Call it if LHS.
      	(expand_assignment): Handle a RESULT_DECL where
      	DECL_RTL is a PARALLEL.
      	(do_jump, case WITH_RECORD_EXPR): New case.
      	(get_inner_reference): Always go inside a CONVERT_EXPR
      	and NOP_EXPR if both modes are the same.
      	(store_field): Use bitfield operations if size of bitsize is not same
      	as size of RHS's type.
      	Check for bitpos not a multiple of alignment in BLKmode case.
      	Do block move in largest possible alignment.
      	(store_constructor): Set BITSIZE to -1 for variable size and properly
       	in case of array of BLKmode.
      	(expand_expr_unaligned): New function.
      	(do_compare_and_jump): Call it.
      
      	* mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
      	* collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
      	does not include 'o'.
      
      	* function.c (instantiate_virtual_regs_1, case SET): Handle case where
      	both SET_DEST and SET_SRC reference a virtual register.
      	(gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
      
      	* integrate.c (expand_inline_function): Handle case of setting
      	virtual stack vars register (from built in setjmp); when parameter
      	lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
      	(subst_constant): Add new parm, MEMONLY.
      	(expand_inline_function, integrate_parm_decls): Pass new parm.
      	(integrate_decl_tree): Likewise.
      	(copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
      	(try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
      	(copy_rtx_and_substitute, case SET): Add explicit calls to
      	copy_rtx_and_substitute for both sides.
      
      	* stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
      	constraints.
      	(pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
      	within INDEX_TYPE, instead of before.
      	(fixup_gotos): Use f->target_rtl, not the next insn,
      	since latter may be from a later fixup.
      	(expand_value_return): Correctly convert VAL when promoting function
      	return; support RETURN_REG being a PARALLEL.
      	(expand_return): When checking for result in regs and having
      	cleanup, consider PARALLEL in DECL_RTL as being in regs.
      
      From-SVN: r30299
      Richard Kenner committed
  11. 15 Oct, 1999 1 commit
    • genrecog.c (message_with_line): Prototype. · aece2740
              * genrecog.c (message_with_line): Prototype.
              (validate_pattern): Pass along the set for the dest, not a flag.
              Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
              Check for PC/CC0 as sources.
              (nodes_identical): Check for children position match before
              allowing the combination.
      
              * rtl.c (read_rtx): Track line number across \\\n.
      
      From-SVN: r30010
      Richard Henderson committed
  12. 14 Oct, 1999 1 commit
    • rtl.c (dump_and_abort): Remove. · bcdaba58
              * rtl.c (dump_and_abort): Remove.
              (fatal_with_file_and_line): New.
              (fatal_expected_char): New.
              (read_rtx_lineno, read_rtx_filename): New.
              (read_skip_spaces): Track line number.
              (read_name): Use fatal_with_file_and_line.
              (read_rtx): Use fatal_expected_char.  Track line number.
              * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
      
              * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
              if it isn't a CODE_LABEL.
      
              * genattr.c (main): Set read_rtx_filename.
              * genattrtab.c (main): Likewise.
              * gencodes.c (main): Likewise.
              * genconfig.c (main): Likewise.
              * genemit.c (main): Likewise.
              * genextract.c (main): Likewise.
              * genflags.c (main): Likewise.
              * genopinit.c (main): Likewise.
              * genoutput.c (main): Likewise.
              * genpeep.c (main): Likewise.
      
              * genrecog.c (decision_test.u.insn): Add `lineno'.
              (pattern_lineno, error_count): New variables.
              (message_with_line): New.
              (add_to_sequence): Break out checking code to ...
              (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
              (merge_insn): Use message_with_line.
              (make_insn_sequence): Use validate_pattern.  Record insn lineno.
              (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
      
      From-SVN: r29957
      Richard Henderson committed
  13. 11 Oct, 1999 1 commit
  14. 10 Oct, 1999 2 commits
    • haifa-sched.c (sched_reg_n_calls_crossed): Delete. · c46a37c4
              * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
              (sched_reg_live_length, sched_reg_basic_block): Delete.
              (current_block_num, bb_live_regs, old_live_regs): Delete.
              (dead_notes, struct sometimes): Delete.
              (sched_note_set, birthing_insn_p): Delete.
              (adjust_priority): Gut useless reg lifetime code.
              (create_reg_dead_note, attach_deaths): Delete.
              (attach_deaths_insn, new_sometimes_live): Delete.
              (finish_sometimes_live): Delete.
              (find_pre_sched_live, find_post_sched_live): Delete.
              (update_reg_usage): Delete.
              (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
              (schedule_insns): Delete reg lifetime code.
              (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
              (unlink_other_notes): Adjust REG_NOTE commentary.
              (reemit_notes): Use REG_SAVE_NOTE.
              (schedule_block): Likewise.
              (schedule_region): Allocate bitmap of blocks in region.  Use
              count_or_remove_death_notes.  Use update_life_info.
      
              * rtl.h (REG_SAVE_NOTE): New.
              * rtl.c (reg_note_name): Update.
      
      From-SVN: r29894
      Richard Henderson committed
    • ansidecl.h (HAVE_GCC_VERSION): New macro. · b30bce6b
      include:
      	* ansidecl.h (HAVE_GCC_VERSION): New macro.  Use instead of
      	explicitly testing __GNUC__ and __GNUC_MINOR__.
      
      	(ATTRIBUTE_PRINTF): Use `__format__', not `format'.
      
      gcc:
      	* cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
      	__GNUC__ and __GNUC_MINOR__.
      
      	* gansidecl.h: Likewise.
      
      	* rtl.c: Likewise.
      
      	* rtl.h: Likewise.
      
      	* toplev.h: Likewise.
      
      	* tree.c: Likewise.
      
      	* tree.h: Likewise.
      
      	* varray.c: Likewise.
      
      	* varray.h: Likewise.
      
      cp:
      	* cp-tree.h: Use HAVE_GCC_VERSION instead of explicitly testing
      	__GNUC__ and __GNUC_MINOR__.
      
      f:
      	* proj.h: Use HAVE_GCC_VERSION instead of explicitly testing
      	__GNUC__ and __GNUC_MINOR__.  Don't define BUILT_WITH_270.
      	Define macro UNUSED in terms of ATTRIBUTE_UNUSED.
      
      From-SVN: r29890
      Kaveh R. Ghazi committed
  15. 03 Oct, 1999 1 commit
    • print-tree.c (print_node, indent_to): Remove redundant prototypes. · 95d75019
      	* print-tree.c (print_node, indent_to): Remove redundant prototypes.
      
      	* profile.c (instrument_arcs, output_gcov_string,
      	tablejump_entry_p): Add static prototypes.
      	(output_gcov_string): Constify a char*.
      
      	* regmove.c (replacement_quality, fixup_match_2): Add static
      	prototypes.
      
      	* resource.h (reg_dead_p): Add extern prototype.
      
      	* rtl.c (trim_filename): Add static prototype.
      
      	* scan-decls.c (skip_to_closing_brace): Likewise.
      
      	* stmt.c (expand_decl_cleanup_no_eh): Hide definition.
      	(expand_end_case): Initialize variable `range'.
      	(emit_case_nodes): Remove unused prototype `rtx_fn'.
      
      	* varasm.c (asm_emit_uninitialised): Add static prototype.
      	(asm_emit_uninitialised, assemble_variable): Mark parameter with
      	ATTRIBUTE_UNUSED.
      
      From-SVN: r29784
      Kaveh R. Ghazi committed
  16. 14 Sep, 1999 1 commit
  17. 08 Sep, 1999 1 commit
  18. 07 Sep, 1999 1 commit
  19. 05 Sep, 1999 1 commit
    • Makefile.in (ggc-simple.o): Depend on varray.h. · a3770a81
      	* Makefile.in (ggc-simple.o): Depend on varray.h.
      	(rtl.o): Depend on ggc.h.
      	(genattrtab.o): Depend on ggc.h.
      	(print-tree.o): Likewise.
      	(fold-const.o): Likewise.
      	* emit-rtl.c (sequence_element_free_list): Remove, and all references.
      	(make_insn_raw): Don't cache insns when GC'ing.
      	(emit_insn_before): Likewise.
      	(emit_insn_after): Likewise.
      	(emit_insn): Likewise.
      	(start_sequence): Use xmalloc to allocate the sequence_stack.
      	(end_sequence): Add free to free it.
      	(gen_sequence): Don't cache insns when GC'ing.
      	(clear_emit_caches): Don't use sequence_element_free_list.
      	(init_emit): Use xcalloc, not xmalloc+bzero.
      	* fold-const.c (size_int_wide): Kill the cache, when GC'ing.
      	* function.c (pop_function_context_from): Use free to free the
      	fixup_var_refs_queue.
      	(put_reg_into_stack): Allocate it with xmalloc.
      	* genattrtab.c: Include ggc.h.
      	(operate_exp): Don't use obstack_free when GC'ing.
      	(simplify_cond): Likewise.
      	(simplify_text_exp): Likewise.
      	(optimize_attrs): Likewise.
      	* gengentrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
      	GC'ing.
      	(gencode): Generate a #include for ggc.h.
      	* ggc-callbacks.c (ggc_p): Define it to zero.
      	* ggc-none.c (ggc_p): Likewise.
      	* ggc-simple.c: Include varray.h.
      	(ggc_mark_tree_varray): New function.
      	(ggc_add_tree_varray_root): Likewise.
      	(ggc_mark_tree_varray_ptr): Likewise.
      	* ggc.h (ggc_p): Declare.
      	(varray_head_tag): Likewise.
      	(ggc_add_tree_varray_root): Declare.
      	* print-tree.c (print_node): Don't check for TREE_PERMANENT
      	inconsistencies when GC'ing.
      	* rtl.c: Include ggc.h.
      	(rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
      	(rtx_alloc): Use ggc_alloc_rtx when GC'ing.
      	(rtx_free): Don't call obstack_free when GC'ing.
      	* toplev.c (rest_of_compilation): Call ggc_collect after every
      	pass, if GC'ing.
      	* tree.c (push_obstacks): Do nothing, if GC'ing.
      	(pop_obstacks_nochange): Likewise.
      	(pop_obstacks): Likewise.
      	(make_node): Use ggc_alloc_tree when GC'ing.
      	(copy_node): Likewise.
      	(get_identifier): Use ggc_alloc_string when GC'ing.
      	(build_string): Likewise.
      	(make_tree_vec): Use ggc_alloc_tree when GC'ing.
      	(tree_cons): Likewise.
      	(build1): Likewise.
      	(type_hash_canon): Don't call obstack_free when GC'ing.
      
      Co-Authored-By: Bernd Schmidt <bernds@cygnus.co.uk>
      Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
      
      From-SVN: r29125
      Richard Henderson committed
  20. 03 Sep, 1999 1 commit
    • flow.c (propagate_block): Use XEXP not SET_DEST for a USE. · 83ab3839
              * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
              (recompute_reg_usage): Likewise.
              * rtlanal.c (find_regno_fusage): Likewise.
      
              * rtl.c (rtl_check_failed_code1): New function.
              (rtl_check_failed_code2): New.
              * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
              (RTL_CHECKC1, RTL_CHECKC2): New.
              (XC*): New accessor macros.
              (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
              (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
              (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
              (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
              (TRAP_*, RANGE_INFO_*): Likewise.
      
      From-SVN: r29089
      Richard Henderson committed
  21. 31 Aug, 1999 1 commit
    • rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and bounds- check RTL… · ef178af3
      rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and bounds- check RTL accesses if --enable-checking.
      
      1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
      
      	* rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
      	bounds- check RTL accesses if --enable-checking.
      	(RTVEC_ELT): Bounds check if --enable-checking.
      	(XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
      	XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
      	(XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
      	GET_NUM_ELEM.
      	(X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
      	X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
      
      	(ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
      	(NOTE_SOURCE_FILE): Use X0STR.
      	(NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
      	MEM_ALIAS_SET): Use X0INT.
      	(NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
      	JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
      	Use X0EXP.
      	* real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
      	* rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
      	(rtl_check_failed_bounds, rtl_check_failed_type1,
      	rtl_check_failed_type2, rtvec_check_failed_bounds): New
      	functions.
      	(fancy_abort): Fix comment.
      
      	* cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
      	(cse_insn): Decrement LABEL_NUSES for jump target before
      	deleting jump insn.
      	* emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
      	* final.c (alter_subreg): Compute regno before changing x to
      	REG; set REGNO(x) after changing it.
      	* flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
      	notes containing CONST_INTs.
      	(delete_eh_regions): Use NOTE_EH_HANDLER.
      	* function.c (put_reg_into_stack): Make reg a MEM before
      	initializing it.
      	(fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
      	delete insn.
      	(gen_mem_addressof): Make reg a MEM before initializing it.
      	* integrate.c (copy_rtx_and_substitute): Copy '0' slots with
      	X0WINT.
      	* local-alloc.c (update_equiv_regs): Zap REG_NOTES before
      	deleting an insn, not after.
      	(block_alloc): Only look at PATTERN(insn) if we have to, and
      	only if it's format class 'i'.
      	* loop.c (check_dbra_loop): Check bl->biv->add_val is a
      	CONST_INT before using its INTVAL.
      	* print-rtl.c (print_rtx): Use X0STR.
      	* regmove.c (fixup_match_1): Don't look at PATTERN of
      	non-class-'i' insn chain elements.
      	* reload.c (loc_mentioned_in_p): Take address of
      	in->fld[1].rtx directly.
      	* reload1.c (reload): Change reg to a MEM before initializing
      	it.
      	* varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
      	have no names.
      	* config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
      
      From-SVN: r29008
      Zack Weinberg committed
  22. 27 Aug, 1999 1 commit
    • rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format for a CONST_DOUBLE... · aa0b4465
      1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
      
      	* rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
      	for a CONST_DOUBLE, at compile time.  Initialize rtx_length
      	and class_narrowest_mode at compile time.  Kill init_rtl.
      	Mark rtx_length, mode_class, mode_size, mode_unit_size,
      	mode_wider_mode, mode_mask_array, class_narrowest_mode, and
      	rtx_format as const.  Kill all references to EXTRA_CC_MODES or
      	EXTRA_CC_NAMES.
      	* rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
      	format.
      	* rtl.h: Declare rtx_length and rtx_format as const.
      	* machmode.def: Define CC().  Use CC() to define CCmode.  If
      	EXTRA_CC_MODES is defined, expand it here.
      	* machmode.h: Declare mode_class, mode_size, mode_unit_size,
      	mode_wider_mode, mode_mask_array, and class_narrowest_mode as
      	const.  Kill all references to EXTRA_CC_MODES.
      
      	* toplev.c: Don't prototype or call init_rtl.
      	* optabs.c: Don't call init_mov_optab.
      	* genemit.c: Don't generate init_mov_optab.  Don't call
      	init_rtl.
      	* gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
      	here.
      	* genattr.c, genattrtab.c, gencodes.c, genconfig.c,
      	genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
      	genrecog.c: Don't call init_rtl.
      
      	* arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
      	rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
      	definition of EXTRA_CC_MODES.
      
      	* md.texi: Kill ref to EXTRA_CC_NAMES.
      	* tm.texi: Document new way to define EXTRA_CC_MODES.
      
      	* genrecog.c: Do not look up the name of a define_split.
      	(Unrelated bugfix.)
      
      From-SVN: r28937
      Zack Weinberg committed
  23. 26 Aug, 1999 1 commit
    • system.h: Don't redefine abort or trim_filename. · 987009bf
      1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
      
      	* system.h: Don't redefine abort or trim_filename.
      	* rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
      	or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
      	whether or not __FUNCTION__ is available.
      	* tree.h: Duplicate rtl.h's definition of abort, for files
      	that don't include rtl.h.  Delete all code to perform type
      	checking with a compiler other than GCC.
      	* varray.h: Delete all code to perform type checking with a
      	compiler other than GCC.  Make VARRAY_CHECK() always evaluate
      	its arguments exactly once, using a statement expression.
      	Adjust the VARRAY_<type> accessor macros to match.
      	* toplev.h (fatal_insn, fatal_insn_not_found): Kill.
      	(_fatal_insn, _fatal_insn_not_found): New fns, take info on
      	caller's location.  Define fatal_insn and fatal_insn_not_found
      	as macros that use _fatal_insn and _fatal_insn_not_found.
      	(fancy_abort, trim_filename): Kill prototypes.
      
      	* rtl.c (trim_filename): Move here from toplev.c.
      	(fancy_abort): New function.
      	(DIR_SEPARATOR): Provide default definition.
      	* tree.c (tree_check_failed, tree_class_check_failed): Go
      	through fancy_abort.
      	(tree_check, tree_class_check, cst_or_constructor_check,
      	expr_check): Delete.
      	* varray.c (varray_check_failed): New function.
      	* toplev.c (fatal_insn, fatal_insn_not_found): Replace with
      	_fatal_insn and _fatal_insn_not_found.  Go through
      	fancy_abort.
      	(trim_filename, fancy_abort): Delete.
      
      	* builtins.c (expand_builtin_args_info): Report ICE with abort.
      	* except.c (start_catch_handler): Report ICE with error/abort
      	combo.
      	* final.c (output_operand_lossage): Likewise.
      	* flow.c (verify_flow_info): Likewise.
      
      	* gcc.c: Prototype fatal.
      	* gengenrtl.c: Undef abort after including rtl.h not system.h.
      	* genattr.c, genattrtab.c, genemit.c, genextract.c,
      	genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
      	Don't define fancy_abort.
      
      From-SVN: r28889
      Zack Weinberg committed
  24. 20 Aug, 1999 4 commits
    • rtl.c (rtx_class, [...]): Constify. · 1f9a015e
      	* rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
      
      	* rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
      
      	* genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
      
      From-SVN: r28785
      Kaveh R. Ghazi committed
    • rtl.h (rtx_format): Constify a char*. · 6f7d635c
      	* rtl.h (rtx_format): Constify a char*.
      
      	* rtl.c (rtx_format): Likewise.
      	(copy_rtx, copy_most_rtx, read_rtx): Likewise.
      	(init_rtl): Use accessor macro, not `rtx_format'.
      
      	* alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
      	char*.
      
      	* caller-save.c (mark_referenced_regs): Likewise.
      
      	* combine.c (subst, make_compound_operation, known_cond,
      	gen_rtx_combine, update_table_tick, get_last_value_validate,
      	use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
      
      	* cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
      	refers_to_p, canon_reg, fold_rtx, cse_process_notes,
      	count_reg_usage): Likewise.
      
      	* emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
      	Likewise.
      
      	* final.c (leaf_renumber_regs_insn): Likewise.
      
      	* flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
      	dump_edge_info, count_reg_references): Likewise.
      
      	* function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
      	fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
      	Likewise.
      
      	* gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
      	oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
      	add_label_notes): Likewise.
      
      	* genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
      	clear_struct_flag, count_sub_rtxs, count_alternatives,
      	compares_alternatives_p, contained_in_p, walk_attr_value,
      	write_expr_attr_cache): Likewise.
      
      	* genconfig.c (walk_insn_part): Likewise.
      
      	* genemit.c (max_operand_1, gen_exp): Likewise.
      
      	* genextract.c (walk_rtx): Likewise.
      
      	* genflags.c (num_operands): Likewise.
      
      	* genoutput.c (scan_operands): Likewise.
      
      	* genpeep.c (match_rtx): Likewise.
      
      	* genrecog.c (add_to_sequence): Likewise.
      
      	* haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
      	Likewise.
      
      	* integrate.c (save_constants, copy_for_inline,
      	copy_rtx_and_substitute, subst_constants, restore_constants):
      	Likewise.
      
      	* jump.c  (mark_jump_label, invert_exp, redirect_exp,
      	rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
      
      	* local-alloc.c (contains_replace_regs, memref_referenced_p):
      	Likewise.
      
      	* loop.c (record_excess_regs, rtx_equal_for_loop_p,
      	add_label_notes, replace_call_address, count_nonfixed_reads,
      	invariant_p, find_single_use_in_loop, find_mem_givs,
      	find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
      	Likewise.
      
      	* print-rtl.c (reg_names, print_rtx): Likewise.
      
      	* recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
      
      	* reg-stack.c (stack_regs_mentioned_p, record_label_references,
      	record_reg_life_pat, swap_rtx_condition, goto_block_pat,
      	print_blocks): Likewise.
      
      	* regclass.c (fix_register, record_address_regs,
      	reg_scan_mark_refs): Likewise.
      
      	* regmove.c (stable_but_for_p): Likewise.
      
      	* reload.c (loc_mentioned_in_p, operands_match_p,
      	find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
      	copy_replacements, refers_to_regno_for_reload_p,
      	refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
      	reload_when_needed_name, reg_class_names, debug_reload_to_stream):
      	Likewise.
      
      	* reload1.c (eliminate_regs, scan_paradoxical_subregs,
      	delete_address_reloads_1, count_occurrences,
      	reload_cse_mem_conflict_p, reload_combine_note_use,
      	add_auto_inc_notes): Likewise.
      
      	* resource.c (mark_referenced_resources, mark_set_resources):
      	Likewise.
      
      	* rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
      	reg_mentioned_p, regs_set_between_p, modified_between_p,
      	modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
      	rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
      	may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
      	jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
      
      	* sched.c (sched_analyze_2, attach_deaths): Likewise.
      
      	* stupid.c (stupid_mark_refs): Likewise.
      
      	* unroll.c (remap_split_bivs): Likewise.
      
      	* varasm.c (mark_constants): Likewise.
      
      	* a29k/a29k.c (uses_local_reg_p): Likewise.
      
      	* alpha/alpha.c (summarize_insn): Likewise.
      
      	* arm/arm.c (symbol_mentioned_p, label_mentioned_p,
      	eliminate_lr2ip): Likewise.
      
      	* arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
      
      	* i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
      	reg_mentioned_in_mem): Likewise.
      
      	* ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
      	symbolic_reference_mentioned_p): Likewise.
      
      	* romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
      
      	* sh/sh.c (regs_used, mark_use): Likewise.
      
      	* vax/vax.c (vax_rtx_cost): Likewise.
      
      From-SVN: r28784
      Kaveh R. Ghazi committed
    • machmode.h (mode_name): Constify a char*. · a4ec8d12
      	* machmode.h (mode_name): Constify a char*.
      
      	* rtl.c (mode_name): Likewise.
      
      	* genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
      
      	* optabs.c (init_libfuncs): Constify a char*.
      
      	* print-tree.c (mode_name): Remove redundant declaration.
      	(print_node): Use accessor macro, not `mode_name'.
      
      	* reload1.c (dump_needs): Constify a char*.  Use accessor macro,
      	not `mode_name'.
      	(new_spill_reg): Constify a char*.
      
      	* tree.c (mode_name): Remove redundant declaration.
      
      From-SVN: r28783
      Kaveh R. Ghazi committed
    • rtl.c (rtx_name): Constify a char*. · 5f06c983
      	* rtl.c (rtx_name): Constify a char*.
      
      	* rtl.h (rtx_name, fix_sched_param): Likewise.
      
      	* gmicro/gmicro.c (rtx_name): Remove redundant declaration.
      	(mypr): Use accessor macro, not `rtx_name'.
      
      	* genemit.c (print_code): Constify a char*.
      
      	* genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
      
      	* genpeep.c (print_code): Constify a char*.
      
      	* genrecog.c (print_code): Likewise.
      
      	* graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
      	end_bb): Add static prototype.
      	(draw_edge): Constify a char*.
      	(end_bb): Remove unused parameter.
      
      	* haifa-sched.c (fix_sched_param, safe_concat, print_exp
      	print_block_visualization): Constify a char*.
      
      From-SVN: r28782
      Kaveh R. Ghazi committed
  25. 19 Aug, 1999 1 commit
    • rtl.def (NOTE): Change format to "iuu0n". · 8f985ec4
      1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
      
      	* rtl.def (NOTE): Change format to "iuu0n".
      	(ADDR_DIFF_VEC): Change format to "eEee0".
      	(ADDRESSOF): Change format to "eit".
      
      	* rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
      	(RTVEC_ELT): Change to match.
      	(XVECEXP): Use XVEC and RTVEC_ELT.
      	(INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
      	ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
      	(PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
      	CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
      	TRAP_CONDITION, TRAP_CODE): Use XEXP.
      	(INTVAL): Use XWINT.
      	(ADDRESSOF_DECL): Use XTREE.
      	(SET_ADDRESSOF_DECL): Delete.
      	(NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
      	NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
      	ifdefed out since 2.6 at least.
      	(gen_rtvec_vv): Delete prototype.
      
      	* rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
      	not rtunion.
      	(copy_most_rtx): Handle 't' format letter.
      	* emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
      	(gen_rtvec_vv): Delete function.  All callers changed to use
      	gen_rtvec_v instead.
      	* print-rtl.c (print_rtx): Move special casing of NOTEs to
      	the '0' format letter.
      
      	* function.c (gen_mem_addressof): Don't use
      	SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
      	instead.
      	* integrate.c (copy_rtx_and_substitute): Likewise.
      	Copy 't' slots with XTREE.
      	(subst_constants): Treat 't' slots like '[swi]' slots.
      	* cse.c (canon_hash, exp_equiv_p): Treat 't' slots like	'0' slots.
      	* jump.c (rtx_equal_for_thread_p): Likewise.
      	* rtlanal.c (rtx_equal_p): Likewise.
      	* stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
      	only four arguments.
      	* gengenrtl.c (type_from_format): Provide correct types for
      	'b' and 't' slots.
      
      
      	* tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
      	If a recent gcc is in use (always in stage2 and beyond), use
      	statement expressions, so we don't make a function call unless
      	the check fails.  Evaluate arguments exactly once.
      	(CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
      	TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
      	Delete.
      	(CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
      	they evaluate their arguments exactly once, irrespective of
      	the compiler in use.
      
      	* tree.c [ENABLE_CHECKING]: Define whichever set of functions
      	is used by the currently-enabled check macros.  This is:
      	(tree_check_failed, tree_class_check_failed): For gcc.
      	(tree_check, tree_class_check, cst_or_constructor_check,
      	expr_check): For other compilers.
      
      	* gencheck.c: Do not define any *_CHECK1 macros.
      
      From-SVN: r28769
      Zack Weinberg committed
  26. 04 Aug, 1999 1 commit
    • Warning fixes: · cbbfcb3b
      	* builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
      	prototypes in macro HAVE_cmpstrsi.
      
      	* cpplib.c (cpp_get_token): Remove unused label `op3'.
      
      	* emit-rtl.c (operand_subword): Remove unused variable
      	`bits_per_word'.
      
      	* rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
      
      	* tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
      
      From-SVN: r28514
      Kaveh R. Ghazi committed
  27. 22 Mar, 1999 1 commit
  28. 19 Mar, 1999 1 commit
    • Warning fixes: · 8db99db2
              * cccp.c (create_definition): Cast to U_CHAR* when assigning to one.
              * cppfiles.c (read_and_prescan): Likewise.
              Start a #define in column 0.
              * cpplib.c (cpp_define): Cast to U_CHAR* when assigning to one.
              (cpp_push_buffer): Likewise for cpp_buffer*.
              (do_include): Change the type of `fbeg' and `fend' to unsigned char*.
              (do_endif): Cast to char* when assigning to one.
              (do_assert): Likewise.
              (do_unassert): Likewise.
              (cpp_read_check_assertion): Change the type of `name' to U_CHAR*.
              Don't do unnecessary cast to char* anymore.
              * genrecog.c (make_insn_sequence): Cast to char** when assigning
              to one.  Cast the first argument of bzero to PTR.
              * loop.c (strength_reduce): Remove unused variable `note'.
              * reload1.c (new_insn_chain): Cast to struct insn_chain* when
              assigning to one.
              * rtl.c (copy_rtx): Use memcpy instead of bcopy.
      
      From-SVN: r25860
      Kaveh R. Ghazi committed
  29. 25 Feb, 1999 1 commit
  30. 22 Feb, 1999 1 commit
    • cse.c (dump_class): New function. · a4c6502a
      	* cse.c (dump_class): New function.
      	(invalidate_memory): Fix typo in comment.
      	* function.c (temp_slot): Add an alias set field.
      	(assign_stack_temp): Only reuse slots if they will have the
      	same alias set as before.
      	(combine_temp_slots): Don't combine if -fstrict-aliasing;
      	that's unsafe.
      	* rtl.c (copy_rtx): Copy all the flags (in particular,
      	MEM_SCALAR_P).
      
      From-SVN: r25372
      Mark Mitchell committed
  31. 12 Jan, 1999 1 commit
  32. 06 Jan, 1999 1 commit
  33. 08 Dec, 1998 1 commit
    • See ChangeLog.. · e6cfb550
      Tue Dec  8 15:32:56 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
      See ChangeLog.. These are the files that were changed:
      	* eh-common.h (struct eh_context): Add table_index for rethrows.
      	* rtl.h (enum reg_note): Add REG_EH_REGION and REG_EH_RETHROW reg notes.
      	* rtl.c (reg_note_name): Add strings for new reg_note enums.
      	* expr.h (rethrow_libfunc): New library decl.
      	* optabs.c (rethrow_libfunc): Initialize.
      	* except.h (struct eh_entry): Add new field 'rethrow_label'.
      	* except.c (create_rethrow_ref): New function to create a single
      	* flow.c (make_edges): Add different edges for rethrow calls,
      	* integrate.c (save_for_inline_eh_labelmap): New callback routine to
      	* libgcc2.c (find_exception_handler): Generalize to enable it to
              * cp/except.c
              * cp/exception.cc
      
      From-SVN: r24194
      Andrew MacLeod committed
  34. 23 Oct, 1998 1 commit