law [Mon, 1 Nov 1999 08:53:40 +0000 (08:53 +0000)]
* flow.c (calculate_global_regs_live): Fix thinko.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30316
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 1 Nov 1999 08:45:06 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30315
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 1 Nov 1999 06:57:01 +0000 (06:57 +0000)]
* ggc-page.c (struct page_entry): Remove save_num_free_objects.
(DIV_ROUND_UP): Robustify.
(ggc_recalculate_in_use_p): New function.
(release_pages): Don't inline it.
(ggc_alloc_obj): Don't refuse to allocate objects on pages for
outer contexts.
(ggc_pop_context): Use ggc_recalculate_in_use_p.
(clear_marks): Always save in_use_p.
(sweep_pages): Use ggc_recalculate_in_use_p.
(ggc_page_print_statistics): Avoid signed/unsigned comparisons.
Release pages before counting statistics.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30314
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 1 Nov 1999 06:42:00 +0000 (06:42 +0000)]
* toplev.c (rest_of_compilation): Fix thinko in this change:
Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
(rest_of_compilation): If inside an inlined external function,
pretend we are just being declared.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30313
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 1 Nov 1999 06:04:59 +0000 (06:04 +0000)]
* integrate.c (expand_inline_function): Fix bugs in previous
change from Oct 28, 1999.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30312
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 1 Nov 1999 05:35:03 +0000 (05:35 +0000)]
* Makefile.in (convert.o, typeck.o): Depend on output.h
* convert.c: Include output.h.
* typeck.c: Include output.h.
(initializer_constant_valid_p): Delete fucntion.
* ch-tree.h (initializer_constant_valid_p): Delete prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30311
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Mon, 1 Nov 1999 05:19:07 +0000 (05:19 +0000)]
* gcc.dg/struct-ret-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30310
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Mon, 1 Nov 1999 05:18:17 +0000 (05:18 +0000)]
* gcc.dg/array-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30309
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 1 Nov 1999 04:24:33 +0000 (04:24 +0000)]
* stmt.c (expand_value_return): Fix typo in this change:
Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
(expand_value_return): Correctly convert VAL when promoting function
return; support RETURN_REG being a PARALLEL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30308
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 1 Nov 1999 04:23:27 +0000 (04:23 +0000)]
* stmt.c (expand_value_return): Fix typo in this change:
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30307
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 1 Nov 1999 04:08:54 +0000 (04:08 +0000)]
* expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30306
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 1 Nov 1999 02:19:25 +0000 (02:19 +0000)]
* cse.c (cse_insn): If an insn has only a single set, SRC_EQV
is nonzero and the single set does not have an elt, then assign
it an elt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30304
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 1 Nov 1999 01:47:41 +0000 (01:47 +0000)]
* hard-reg-set.h (reg_names): Constify a char*.
* regclass.c (reg_names): Likewise.
* regs.h (reg_names): Likewise
* a29k/a29k.c (reg_names): Delete declaration.
* a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
* arc/arc.c (arc_save_restore, arc_output_function_prologue,
arc_output_function_epilogue): Likewise.
* elxsi/elxsi.c (reg_names): Likewise.
* gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
* m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
Likewise.
* m88k/m88k.c (output_function_profiler): Likewise.
* sparc/sparc.c (sparc_flat_output_function_prologue,
sparc_flat_output_function_epilogue): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30303
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 1 Nov 1999 01:46:29 +0000 (01:46 +0000)]
* decl.c (finish_function): Call free_after_parsing for functions
we are not immediately turning into RTL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30302
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 1 Nov 1999 01:18:04 +0000 (01:18 +0000)]
Fix error in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30301
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Mon, 1 Nov 1999 01:15:37 +0000 (01:15 +0000)]
1999-11-01 Bryce McKinlay <bryce@albatross.co.nz>
* java/io/PrintStream (PrintStream): Fix illegal usage of "this"
before "super".
* java/io/OutputStreamWriter (OutputStreamWriter): ditto.
* java/io/InputStreamReader (InputStreamReader): ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30300
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 1 Nov 1999 01:11:22 +0000 (01:11 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30299
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 1 Nov 1999 00:55:24 +0000 (00:55 +0000)]
Remove experimental hunk that wasn't supposed to be checked in.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30298
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 1 Nov 1999 00:18:40 +0000 (00:18 +0000)]
* POTFILES.in: Add simplify-rtx.c
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30296
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 1 Nov 1999 00:18:23 +0000 (00:18 +0000)]
* simplify-rtx.c: New file.
* Makefile.in (OBJS): Add simplify-rtx.o
(simplify-rtx.o): Add dependencies.
* rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
* cse.c: Use simplify_gen_binary intead of cse_gen_binary.
(cse_gen_binary, simplify_unary_operation): Delete.
(simplify_binary_operation, simplify_plus_minus): Likewise.
(check_fold_consts, simplify_relation_operation): Likewise.
(simplify_ternary_operation): Likewise.
(delete_trivially_dead_insns): Simplify the contents of the
REG_EQUAL note before trying to substitute it into the source
of the reg-reg copy at the end of a libcall sequence.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30295
138bc75d-0d04-0410-961f-
82ee72b054a4
pcg [Sun, 31 Oct 1999 21:52:00 +0000 (21:52 +0000)]
Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
* toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
warning from -Wuninitialized and put it under -W.
* function.c (uninitialized_vars_warning): Warn only when the
corresponding flag is set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30294
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Sun, 31 Oct 1999 19:41:33 +0000 (19:41 +0000)]
* cp-tree.h (flag_dump_translation_unit): Add decl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30293
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 31 Oct 1999 17:36:58 +0000 (17:36 +0000)]
* combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
references/callers changed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30292
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 31 Oct 1999 15:37:46 +0000 (15:37 +0000)]
* mn10200.c (mn10200_va_arg): Force the return value into a
register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30291
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 31 Oct 1999 15:35:07 +0000 (15:35 +0000)]
* fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30290
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 31 Oct 1999 07:54:56 +0000 (07:54 +0000)]
* cccp.c (macroexpand): Avoid out of range accesses for omitted
arguments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30289
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 31 Oct 1999 07:45:06 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30288
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 31 Oct 1999 04:44:09 +0000 (04:44 +0000)]
* lex.c (yylex): Accept 'f' in mantissa of hex float constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30285
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 31 Oct 1999 04:42:55 +0000 (04:42 +0000)]
* c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30284
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 31 Oct 1999 04:25:01 +0000 (04:25 +0000)]
* gcc.c-torture/execute/991030-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30283
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 31 Oct 1999 04:22:46 +0000 (04:22 +0000)]
* fold-const.c (fold): Fix thinko when optimizing comparisons
against -0.0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30282
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 31 Oct 1999 03:36:38 +0000 (03:36 +0000)]
* check-init.c: Fix typo in comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30281
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 31 Oct 1999 03:33:50 +0000 (03:33 +0000)]
* gcc.texi (Passes): Update front-end files to their current
location.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30280
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 30 Oct 1999 23:32:55 +0000 (23:32 +0000)]
* decl.c (pop_cp_function_context): Don't call free on a NULL
pointer.
* semantics.c: Include ggc.h.
(expand_body): Do garbage-collection after processing a template
function. Clear DECL_SAVED_TREE after generating RTL for a
function.
* Makefile.in (semantics.o): Depend on ggc.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30279
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 30 Oct 1999 22:26:25 +0000 (22:26 +0000)]
Fix incorrect declaration of main
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30278
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 30 Oct 1999 21:46:57 +0000 (21:46 +0000)]
* alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
(SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
(PREDICATE_CODES): Add addition_operation.
* alpha-protos.h (addition_operation): Declare.
(secondary_reload_class): Likewise.
* alpha.c (addition_operation): New.
(secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
* alpha.md (adddi3): Turn into expander.
(*lda, *adddi_2): New.
(movsf, movdf patterns): Don't preference integer regs.
(movsi, movdi patterns): Don't preference fp regs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30277
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 30 Oct 1999 21:40:05 +0000 (21:40 +0000)]
* genrecog.c (write_switch): Check for duplicate CODE cases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30276
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 30 Oct 1999 21:36:13 +0000 (21:36 +0000)]
* ggc-common.c: Update pre-function commentary.
* ggc-page.c: Likewise.
(poison): Remove.
(poison_pages): Use memset directly.
(ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
(ggc_collect): Poison before sweeping.
* ggc-simple.c: Update pre-function commentary.
(ggc_alloc_obj): Poison non-zeroed memory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30275
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 30 Oct 1999 21:26:13 +0000 (21:26 +0000)]
* ggc-common.c (ggc_print_statistics): Make arguments to fprintf
match format string, even on 64-bit hosts.
* gcc-page.c (ggc_page_print_statistics): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30274
138bc75d-0d04-0410-961f-
82ee72b054a4
clm [Sat, 30 Oct 1999 19:43:20 +0000 (19:43 +0000)]
Revert last patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30273
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 30 Oct 1999 07:45:07 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30272
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 30 Oct 1999 06:41:19 +0000 (06:41 +0000)]
* jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30271
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Sat, 30 Oct 1999 00:18:23 +0000 (00:18 +0000)]
Fix mn10200-elf libio build failure, and minor performance regression.
* stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
TYPE_SIZE, convert type of result to sizetype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30270
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 29 Oct 1999 21:45:05 +0000 (21:45 +0000)]
* flow.c (count_or_remove_death_notes): Equate NULL with the
universal set.
* jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
* toplev.c (rest_of_compilation): Rebuild CFG immediately before
dbr_schedule.
* i386.c (pic_label_no): Delete.
(ix86_attr_length_default): Don't use single_set to peek
inside a parallel.
* recog.c (peephole2_optimize): Allow recog_next_insn to index
the first insn after bb->end.
* i386.md (push mem peeps): Scratch is live after evaluation
of the memory.
(cmp mem peep): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30269
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Fri, 29 Oct 1999 21:37:51 +0000 (21:37 +0000)]
Fri Oct 29 14:35:18 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (add_method_1): Set DECL_INLINE to 1 for private, static
and final method.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30268
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Fri, 29 Oct 1999 21:32:28 +0000 (21:32 +0000)]
Fri Oct 29 14:23:32 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (expression_statement:): Call function to report
improper invocation of a constructor.
(parse_ctor_invocation_error): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30267
138bc75d-0d04-0410-961f-
82ee72b054a4
clm [Fri, 29 Oct 1999 18:53:46 +0000 (18:53 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30266
138bc75d-0d04-0410-961f-
82ee72b054a4
clm [Fri, 29 Oct 1999 18:49:29 +0000 (18:49 +0000)]
Fix up last patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30265
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 29 Oct 1999 17:56:19 +0000 (17:56 +0000)]
* alpha/alpha-protos.h (literal_section): Add prototype.
(alpha_need_linkage, alpha_start_function,alpha_end_function):
Constify a char*.
* alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
prototype.
(alpha_start_function, alpha_end_function, float_strings,
alpha_need_linkage): Constify a char*
* alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
* alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
* alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
* alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30264
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 29 Oct 1999 17:51:38 +0000 (17:51 +0000)]
* flow.c (debug_flow_info): Add prototype.
* gcc.c (main): Likewise.
* gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
Likewise.
* reload1.c (failed_reload, set_reload_reg): Likewise.
* mips-tfile.c (main): Likewise.
(pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
with ATTRIBUTE_NORETURN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30262
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Fri, 29 Oct 1999 17:34:54 +0000 (17:34 +0000)]
Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
* config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
DECL is not a memory ref.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30261
138bc75d-0d04-0410-961f-
82ee72b054a4
clm [Fri, 29 Oct 1999 17:11:16 +0000 (17:11 +0000)]
Remove stray comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30260
138bc75d-0d04-0410-961f-
82ee72b054a4
clm [Fri, 29 Oct 1999 16:13:23 +0000 (16:13 +0000)]
* config/i386/i386.h (ix86_cpu): Remove extern attribute.
* config/i386/i386.c (ix86_cpu): Add extern attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30259
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Fri, 29 Oct 1999 15:36:21 +0000 (15:36 +0000)]
Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
* config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
* config/mips/elf64.h: ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30258
138bc75d-0d04-0410-961f-
82ee72b054a4
clm [Fri, 29 Oct 1999 15:23:41 +0000 (15:23 +0000)]
* expr.c (emit_push_insn): New argument alignment_pad.
Update all callers. Adjust stack pointer based on alignment pad.
* function.c (pad_to_arg_alignment): New argument alignment_pad.
Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
(locate_and_pad_parm): New argument alignment_pad. Update all
callers.
* expr.h (emit_push_insn): Update prototype.
(locate_and_pad_parm): Update prototype.
* calls.c (arg_data): Add new field alignment_pad.
(initialize_argument_information): Initialize alignment_pad.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30257
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 29 Oct 1999 09:49:23 +0000 (09:49 +0000)]
* except.c (free_eh_nesting_info): Free the info itself.
* function.c (free_after_compilation): Don't free NULL.
* gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
(pre_edge_insert): Free inserted.
* stmt.c (free_stmt_status): Don't free NULL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30255
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 29 Oct 1999 09:35:38 +0000 (09:35 +0000)]
* cp-tree.h (make_typename_type): Change prototype.
* decl.c (make_typename_type): Only complain if so requested.
* parse.y (nested_name_specifier): Adjust calls.
(typename_sub0): Likewise.
(typename_sub1): Likewise.
* parse.c: Regenerated.
* pt.c (convert_template_argument): Pass complain to
make_typename_type.
(tsubst): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30254
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 29 Oct 1999 07:45:06 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30253
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 29 Oct 1999 04:31:14 +0000 (04:31 +0000)]
1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
* cpplib.h (struct cpp_buffer: fname, nominal_fname,
last_nominal_fname): Mark const.
(struct include_hash: name, nshort, control_macro): Mark
const.
(struct macrodef: symnam): Mark const.
(struct if_stack: fname): Mark const.
(is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
(IStable): New character-syntax array which encompasses all
the old is_foo arrays.
(is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
is_space): New macros for interrogating IStable.
(check_macro_name): Kill last argument. All callers changed.
* cppinit.c (initialize_char_syntax): Delete.
(is_idchar, is_idstart, is_hor_space, is_space,
trigraph_table): Delete.
(IStable): New. Initialize with clever macros to avoid
information duplication.
(builtin_array): Table of builtins to get rid of explicit list
in initialize_builtins.
(initialize_builtins): Use builtins_array.
(cpp_start_read): Call init_IStable, and set IStable['$'] if
opts->dollars_in_ident.
* cppexp.c: Change all refs to is_xyz[] arrays to use new
is_xyz() macros.
(cpp_parse_expr): Avoid 'format string is not constant'
warning. Use ISGRAPH to identify printable chars.
* cppfiles.c: Change all refs to is_xyz[] arrays to use new
is_xyz() macros.
(read_and_prescan): Map trigraphs to chars with open-coded
if-else-if-... sequence, not a lookup table.
* cpphash.c: Change all refs to is_xyz[] arrays to use new
is_xyz() macros.
* cpplib.c: Change all refs to is_xyz[] arrays to use new
is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
(check_macro_name): Remove ability to report an invalid
assertion name, which is never used.
(do_line): Constify a couple of char *'s.
* cppmain.c (main): Call cpp_cleanup before returning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30252
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 29 Oct 1999 04:17:33 +0000 (04:17 +0000)]
* ggc.h (struct ggc_statistics): New type.
(ggc_get_size): New function.
(ggc_print_statistics): Likewise.
* ggc-common.c (ggc_stats): New variable.
(ggc_mark_rtx_children): Keep statistics.
(ggc_mark_tree_children): Likewise.
(ggc_print_statistics): New function.
* ggc-page.c (struct globals): Add bytes_mapped field.
(alloc_anon): Update it.
(release_pages): Likewise.
(ggc_get_size): New function.
(ggc_page_print_statistics): New function.
* ggc-simple.c (ggc_get_size): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30251
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 29 Oct 1999 02:34:31 +0000 (02:34 +0000)]
* semantics.c (finish_handler): End the scope of the handler
before attaching it to the statement-tree.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30250
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Thu, 28 Oct 1999 23:59:08 +0000 (23:59 +0000)]
improve ChangeLog message
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30249
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Thu, 28 Oct 1999 23:55:28 +0000 (23:55 +0000)]
* rtti.c (build_dynamic_cast_1): Give a better error message for
an attempt to dynamic_cast a polymorphic type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30248
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Thu, 28 Oct 1999 20:37:37 +0000 (20:37 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30247
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 28 Oct 1999 19:30:02 +0000 (19:30 +0000)]
* resource.c (find_free_register): Don't use the frame pointer
if frame_pointer_needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30246
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 28 Oct 1999 18:29:10 +0000 (18:29 +0000)]
Fix stdarg bugs with MIPS EABI that caused newlib/libstdc++ build failures.
* config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
(function_arg_pass_by_reference): Check for a NULL pointer in cum.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30245
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 28 Oct 1999 17:14:59 +0000 (17:14 +0000)]
Fix i960 varargs/stdarg build failures.
* config/i960/i960.c (i960_va_start): New locals base, num.
Use INDIRECT_REF instead of ARRAY_REF on valist.
(i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30244
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 28 Oct 1999 16:42:14 +0000 (16:42 +0000)]
* gcse.c (delete_null_pointer_checks): Fix typo in this change:
Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30243
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 28 Oct 1999 11:39:31 +0000 (11:39 +0000)]
* tree.def (PLACEHOLDER_EXPR): Update comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30241
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 28 Oct 1999 10:53:12 +0000 (10:53 +0000)]
* c-common.c (check_format_info): Avoid non-literal format string
warnings when `first_arg_num' is zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30240
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Thu, 28 Oct 1999 10:36:01 +0000 (10:36 +0000)]
Remove prev/next/up pointers in node definitions
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30239
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Thu, 28 Oct 1999 10:29:38 +0000 (10:29 +0000)]
* arm.md (*casesi_insn): Add a clobber of the condition-code register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30238
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Thu, 28 Oct 1999 09:34:40 +0000 (09:34 +0000)]
Document that CC1_SPEC is used by cc1plus
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30236
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Thu, 28 Oct 1999 09:28:04 +0000 (09:28 +0000)]
Allow netbsd target to also set structure size boundary
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30234
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 28 Oct 1999 09:13:40 +0000 (09:13 +0000)]
* c-pragma.c (push_alignment): Don't check the return value
of xmalloc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30233
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 28 Oct 1999 09:10:29 +0000 (09:10 +0000)]
* sparc.h (ADJUST_COST): Fix thinko.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30232
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 28 Oct 1999 09:08:43 +0000 (09:08 +0000)]
* gcse.c (delete_null_pointer_checks): Only record non-null info
for pseudos when examining stores.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30231
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 28 Oct 1999 08:45:37 +0000 (08:45 +0000)]
* cccp.c (rescan): Fixed obp pointer handling around call to
check_expand subroutine.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30230
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Thu, 28 Oct 1999 08:26:42 +0000 (08:26 +0000)]
* Makefile.in (SUBDIRS): New macro.
(mostlyclean, clean, distclean, maintainer-clean): Adjust to
avoid multiple subdirectory cleaning.
(*-subdir): Use SUBDIRS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30229
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 28 Oct 1999 08:22:34 +0000 (08:22 +0000)]
* arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
splitters for these patterns. Use "#" for output templates.
(addsi3_carryin_shift): New pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30227
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 28 Oct 1999 07:45:08 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30226
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 28 Oct 1999 05:10:05 +0000 (05:10 +0000)]
* cp-tree.h (make_temp_vec): Remove.
(make_scratch_vec): Likewise.
* call.c (add_function_candidate): Use make_tree_vec.
(add_conv_candidate): Likewise.
(build_builtin_candidate): Likewise.
(add_template_candidate_real): Likewise.
* class.c (resolve_address_of_overloaded_function): Likewise.
* decl.c (start_function): Don't fool with the momentary obstack.
(finish_function): Likewise.
* init.c (expand_direct_vtbls_init): Likewise.
(begin_init_stmts): Likewise.
(finish_init_stmts): Likewise.
* pt.c (add_to_template_args): Use make_tree_vec.
(check_explicit_specialization): Likewise.
(coerce_template_parms): Likewise.
(lookup_template_class): Don't fool with the momentary obstack.
(instantiate_class_template): Likewise.
(tsubst_template_arg_vector): Use make_tree_vec.
(tsubst_aggr_type): Don't fool with the momentary obstack.
(tsubst_decl): Likewise. Use make_tree_vec.
(try_one_overload): Likewise.
(try_class_unification): Don't fool with the momentary obstack.
(get_bindings_real): Use make_tree_vec.
(set_mangled_name_for_template_decl): Likewise.
* rtti.c (synthesize_tinfo_fn): Don't fool with the momentary obstack.
* semantics.c (finish_expr_stmt): Likewise.
(finish_do_stmt): Likewise.
(finish_for_expr): Likewise.
(finish_switch_cond): Likewise.
(do_pushlevel): Likewise.
(do_poplevel): Likewise.
* tree.c (make_temp_vec): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30225
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Thu, 28 Oct 1999 00:24:32 +0000 (00:24 +0000)]
* config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
of the function return register into a plain REG until
after function inlining is done.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30224
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 27 Oct 1999 22:22:34 +0000 (22:22 +0000)]
* jump.c (jump_optimize_1): If we did cross-jumping, and
the data will matter, rebuild the CFG.
* reg-stack.c (reg_to_stack): Only (re)build the CFG if
not optimizing. Don't run shorten_branches.
* toplev.c (rest_of_compilation): Run shorten_branches after
reg_to_stack.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30223
138bc75d-0d04-0410-961f-
82ee72b054a4
jle [Wed, 27 Oct 1999 21:29:24 +0000 (21:29 +0000)]
Add myself to list with write after approval access.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30222
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 27 Oct 1999 19:27:41 +0000 (19:27 +0000)]
* rtl.h (note_stores): Add additional paramter.
* rtlanal.c (reg_set_p_1): Take additional paramter.
(reg_set_last_1): Likewise.
(reg_set_p): Adjust call to note_stores.
(reg_set_last): Likewise.
(note_stores): Pass data parameter to worker function.
* alias.c (record_set): Take additional parameter.
(init_alias_analysis): Pass it.
* caller-save.c (mark_set_regs): Take additional parameter.
(save_call_clobbered_regs): Pass NULL to note_stores.
* combine.c (set_nonzero_bits_and_sign_copies): Take additional
parameter.
(record_dead_and_set_regs_1): Likewise.
(reg_dead_at_p_1): Likewise.
(combine_instructions): Adjust calls to note_stores.
(try_combine): Likewise.
(record_dead_insn): Remove.
(record_dead_and_set_regs): Adjust calls to note_stores.
(reg_dead_at_p): Likewise.
* cse.c (invalidate_skipped_set): Take additional parameter.
(cse_check_loop_start): Likewise.
(cse_check_loop_start_value): Remove.
(cse_set_around_loop): Adjust calls to note_stores.
* flow.c (notice_stack_pointer_modification): Take additional
parameter. Remove duplicate declaration.
(record_volatile_insns): Adjust calls to note_stores.
* gcse.c (record_set_info): Take additional parameter.
(record_last_set_info): Likewise.
(invalidate_nonnull_info): Likewise.
(record_set_insn): Remove.
(compute_sets): Adjust calls to note_stores.
(last_set_insn): Remove.
(compute_hash_table): Adjust calls to note_stores.
(insert_insn_end_bb): Likewise.
(delete_null_pointer_checks): Likewise.
* global.c (mark_reg_store): Take additional parameter.
(mark_reg_clobber): Likewise.
(reg_becomes_live): Likewise.
(global_conflicts): Adjust calls to note_stores.
(build_insn_chain): Likewise.
* integrate.c (note_modified_parmregs): Take additional parameter.
(mark_stores): Likewise. Make it static.
(save_for_inline_nocopy): Adjust calls to note_stores.
(try_constants): Likewise.
* integrate.h (mark_stores): Remove declaration.
* jump.c (mark_modified_reg): Take additional parameter.
(thread_jumps): Adjust calls to note_stores.
* local-alloc.c (validate_equiv_mem_from_store): Take additional
parameter.
(no_equiv): Likewise.
(reg_is_set): Likewise.
(validate_equiv_mem): Adjust calls to note_stores.
(update_equiv_regs): Likewise.
(block_alloc): Likewise.
* loop.c (note_set_pseudo_multiple_uses_retval): Remove.
(note_addr_stored): Take additional parameter.
(note_set_pseudo_multiple_uses): Likewise.
(record_initial): Likewise.
(prescan_loop): Adjust calls to note_stores.
(strength_reduce): Likewise.
(check_dbra_loop): Likewise.
* regmove.c (flags_set_1): Take additional paramter.
(mark_flags_life_zones): Adjust calls to note_stores.
* reload1.c (mark_not_eliminable): Take additional parameter.
(forget_old_reloads_1): Likewise.
(reload_cse_invalidate_rtx): Likewise.
(reload_cse_check_clobber): Likewise.
(reload_combine_note_store): Likewise.
(move2add_note_store): Likewise.
(reload): Adjust calls to note_stores.
(reload_as_needed): Likewise.
(emit_reload_insns): Likewise.
(reload_cse_regs_1): Likewise.
(reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
(reload_combine): Adjust calls to note_stores.
* resource.c (update_live_status): Take additional paramter.
(mark_target_live_regs): Adjust calls to note_stores.
* stupid.c (find_clobbered_regs): Take additional parameter.
(stupid_life_analysis): Adjust calls to note_stores.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30221
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 27 Oct 1999 18:31:35 +0000 (18:31 +0000)]
allow all arm targets to use -mstructure-size-boundary=XX
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30220
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 27 Oct 1999 18:19:17 +0000 (18:19 +0000)]
* dump.c (dequeue_and_dump): Dump HANDLERs and SAVE_EXPRs. Dump
CLEANUP_P for a TRY_BLOCK.
* ir.texi: Document SAVE_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30218
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 27 Oct 1999 17:34:59 +0000 (17:34 +0000)]
* alias.c (init_alias_analysis): Allocate reg_known_value and
reg_known_equiv_p on the heap. Likewise for new_reg_base_value
and reg_seen.
(end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
* cse.c (cse_main): Call end_alias_analysis.
* haifa-sched.c (schedule_insns): Likewise.
* local-alloc. (update_equiv_regs): Likewise.
* reload1.c (reload_cse_regs): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30217
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 27 Oct 1999 08:49:39 +0000 (08:49 +0000)]
Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
* sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
mapping from MASK_FPU.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30215
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 27 Oct 1999 08:43:23 +0000 (08:43 +0000)]
Scott Christley <scottc@net-community.com>
* sparc.md (call): Don't bound structure return size to 0xfff.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30214
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 27 Oct 1999 08:14:18 +0000 (08:14 +0000)]
Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
* Makefile.in (config.status): Fix leading whitespace.
(clean): Remove libchill.a.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30213
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 27 Oct 1999 07:57:32 +0000 (07:57 +0000)]
* resource.c (mark_target_live_regs): Check that the target
insn wasn't created after compute_bb_for_insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30212
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 27 Oct 1999 07:45:07 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30211
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 27 Oct 1999 06:18:11 +0000 (06:18 +0000)]
* alias.c: Update comments for ADDRESS.
(nonlocal_reference_p): Look inside the ADDRESS to determine if
it is a local memory reference.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30210
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 27 Oct 1999 06:12:31 +0000 (06:12 +0000)]
* ggc-page.c (poison_pages): Don't be overzealous.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30209
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 27 Oct 1999 05:32:43 +0000 (05:32 +0000)]
* c-typeck.c (build_function_call): Check that the built-in
function is of class BUILT_IN_NORMAL before trying to recongize
it as BUILT_IN_ABS.
* calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
* stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
* call.c (build_over_call): Check that the built-in function is
of class BUILT_IN_NORMAL before trying to recongize it as BUILT_IN_ABS.
* typeck.c (build_function_call_real): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30208
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [Wed, 27 Oct 1999 05:16:12 +0000 (05:16 +0000)]
* gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
of alloca.
(pre_gcse): Likewise.
(hoist_expr_reaches_here_p): Likewise.
(hoist_code): Likewise.
(pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
code to ...
(pre_expr_reaches_here_p_work): ... here.
(expr_reaches_here_p): Replace alloca with xcalloc. Move core
code to ...
(expr_reaches_here_p_work): ... here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30207
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 27 Oct 1999 03:44:08 +0000 (03:44 +0000)]
* resource.c (find_basic_block): Delete.
(mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
(init_resource_info): Call compute_bb_for_insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30206
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 27 Oct 1999 03:26:12 +0000 (03:26 +0000)]
* gcc.c-torture/compile/991026-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30205
138bc75d-0d04-0410-961f-
82ee72b054a4