Age | Commit message (Collapse) | Author | Files | Lines |
|
From-SVN: r39869
|
|
2001-02-18 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md: Update copyright.
From-SVN: r39868
|
|
2001-02-18 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md: Do not output an extra newline character.
From-SVN: r39866
|
|
2001-02-18 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md: Do not output an extra newline character.
From-SVN: r39865
|
|
From-SVN: r39862
|
|
unused.
* toplev.c (note_deferral_of_defined_inlined_function): Argument
FNDECL may be unused.
* toplev.c (rest_of_compilation): Don't have CSE skip blocks or
follow jumps after first run.
If -fexpensive-optimizations rerun CSE after GCSE and iterate until
it doesn't change any jumps.
From-SVN: r39861
|
|
* Makefile.in (rtlanal.o): Depend on hard-reg-set.h.
($HOST_PREFIX_1)rtlanal.o: Remove rules for building
(mostlyclean): Corresponding changes.
* rtlanal.c (hard-reg-set.h): Include.
(rtx_unstable_p): Do not treat the argument pointer specially
if it is not a fixed register.
(rtx_varies_p, rtx_addr_can_trap_p): Similarly.
From-SVN: r39860
|
|
real insn in basic block.
* sibcall.c (optimize_sibling_and_tail_recursive_call): Compare
against last real insn in basic block.
Rework to avoid gotos.
From-SVN: r39858
|
|
* Makefile.in (gcse.o): Now includes ggc.h.
* gcse.c: Include ggc.h.
(want_to_gcse_p): Verify expression can be in SET as valid insn.
(try_replace_reg): Remove warning of uninitialize variable.
(process_insert_insn): Call invalid_insn_p to validate insn.
* recog.c (insn_invalid_p): Now global.
See if can make valid by adding CLOBBERs of SCRATCH only and do if so.
* recog.h (insn_invalid_p): New declaration.
From-SVN: r39857
|
|
From-SVN: r39856
|
|
constants sonce 'Y' output code can't handle it.
* config/sparc/sparc.c (eligible_for_epilogue_delay): Don't put
assignments from FP constants sonce 'Y' output code can't handle it.
(eligible_for_sibcall_delay): Likewise.
From-SVN: r39854
|
|
* flow.c (print_rtl_and_abort_fcn): Renamed from print_rtl_and_abort.
Call fancy_abort directly, passing args.
(print_rtl_and_abort): Now a macro, like fancy_abort.
From-SVN: r39852
|
|
From-SVN: r39850
|
|
structure shift insns.
From-SVN: r39848
|
|
* class.c (add_vcall_offset_vtbl_entries_1): Only add one entry
for a destructor.
From-SVN: r39847
|
|
* invoke.texi (-fsquangle): Remove documentation.
(-fname-mangling-version): Likewise.
* cp-tree.h (new_abi_rtti_p): Remove.
(name_mangling_version): Likewise.
(flag_do_squangling): Likewise.
* class.c (build_rtti_vtbl_entries): Remove old ABI support.
* decl.c (grokfndecl): Likewise.
* decl2.c (name_mangling_version): Remove.
(flag_do_squangling): Likewise.
(lang_f_options): Remove `squangle'.
(unsupported_options): Add `squangle'.
(cxx_decode_option): Issue a warning about uses of
-fname-mangling-version.
(finish_file): Remove old ABI support.
* pt.c (check_explicit_specialization): Likewise.
(tsubst_decl): Likewise.
* rtti.c (init_rtti_processing): Likewise.
(build_headof): Likewise.
(get_tinfo_decl_dynamic): Likewise.
(tinfo_from_decl): Likewise.
(build_dynamic_cast_1): Likewise.
(synthesize_tinfo_var): Likewise.
* init.c (build_new): Allow enumeration types for the array-bounds
in a direct-new-declarator.
From-SVN: r39845
|
|
* optabs.c (expand_abs): Remove reference to
HAVE_contitional_arithmetic.
* combine.c (simplify_set): Likewise.
From-SVN: r39844
|
|
* ifcvt.c (dead_or_predicable): Don't move code if eh regions
would be disrupted.
From-SVN: r39843
|
|
* cp-tree.h (struct cp_language_function): Add x_vtt_parm.
(current_vtt_parm): New macro.
(struct lang_decl_flags): Add has_vtt_parm_p, remove vtt_parm.
(DECL_HAS_VTT_PARM_P): New macro.
(DECL_VTT_PARM): Remove.
(FUNCTION_FIRST_USER_PARMTYPE, FUNCTION_FIRST_USER_PARM): New macros.
* decl.c (duplicate_decls): Only copy the operator code if
appropriate.
(start_function): Set current_vtt_parm.
(lang_mark_tree): Don't mark vtt_parm.
* decl2.c (maybe_retrofit_in_chrg): Do add the VTT parm to
DECL_ARGUMENTS. Set DECL_HAS_VTT_PARM_P.
* class.c (build_clone): Maybe remove the VTT parm.
* optimize.c (maybe_clone_body): Set up the VTT parm.
* pt.c (copy_default_args_to_explicit_spec): Preserve the VTT parm.
* call.c (build_over_call): Just allow the VTT arg.
* method.c (make_thunk): Don't set DECL_VTT_PARM.
(do_build_copy_constructor): Use FUNCTION_FIRST_USER_PARM.
(synthesize_method): Use FUNCTION_FIRST_USER_PARMTYPE.
* decl.c (grokdeclarator, copy_args_p, grok_ctor_properties): Likewise.
* error.c (dump_function_decl): Likewise.
* call.c (build_user_type_conversion_1, convert_like_real): Abort
if we try to call a constructor with in-charge or VTT parms.
* method.c (skip_artificial_parms_for): New fn.
* call.c (add_function_candidate, build_over_call): Call it.
* call.c (build_new_method_call): Use current_vtt_parm.
* init.c (expand_virtual_init): Likewise.
* class.c (same_signature_p): No longer static.
* cp-tree.h: Declare it.
* search.c (look_for_overrides_r): Use it.
From-SVN: r39841
|
|
From-SVN: r39840
|
|
From-SVN: r39838
|
|
From-SVN: r39836
|
|
From-SVN: r39834
|
|
From-SVN: r39833
|
|
* rtl.h (add_clobbers): Remove duplicate declaration.
* recog.h (added_clobbers_hard_reg_p): New declaration.
* genemit.c (struct clobber_pat): New field has_hard_reg.
(gen_insn): Record if added clobbers clobber hard reg.
(gen_split): Avoid unused warning if number of operands is 0.
(output_added_clobbers_hard_reg_p): New function.
(main): Call it.
From-SVN: r39832
|
|
From-SVN: r39830
|
|
From-SVN: r39828
|
|
* pa.c (hppa_expand_prologue): Simplify code storing return
pointer. For large (>=8k) frames with a post_store, adjust stack
pointer by 8k-64 first rather than by 64. When testing with
VAL_14_BITS_P, always use the actual value rather than the value
negated. Add blockage to prevent scheduling of spills before
stack frame has been created.
(hppa_expand_epilogue): Simplify code loading return pointer.
Allow a slightly larger range for merge_sp_adjust_with_load case.
When testing with VAL_14_BITS_P, always use the actual value.
From-SVN: r39826
|
|
looking at operands.
2001-02-18 Alan Modra <alan@linuxcare.com.au>
* config/pa/pa.c (pa_adjust_insn_length): Check that block move
pattern is a set before looking at operands.
From-SVN: r39825
|
|
from ...
* fold-const.c (fold_binary_op_with_conditional_arg): New
function, split out from ...
(fold): ... here.
* tree.def (COND_EXPR): Document the use of VOID_TYPE for
conditional arms that throw exceptions.
From-SVN: r39822
|
|
a BLOCK.
* print-tree.c (print_node): Do not use BLOCK_CHAIN when we're not
looking at a BLOCK.
From-SVN: r39818
|
|
direct-new-declarator.
* init.c (build_new): Allow enumeration types for the array-bounds
in a direct-new-declarator.
* semantics.c (finish_typeof): Resolve OFFSET_REFs.
From-SVN: r39817
|
|
* aclocal.m4 (gcc_AC_CHECK_DECL): Before attempting the test,
define HAVE_DECL_* to 1 to mask potential backup declarations.
* configure: Regenerated.
From-SVN: r39814
|
|
from the template being specialized.
* pt.c (check_explicit_specialization): Copy TREE_PRIVATE and
TREE_PROTECTED from the template being specialized.
From-SVN: r39813
|
|
* decl2.c (build_artificial_parm): Set TREE_READONLY.
* decl.c (bad_specifiers): Allow throw specs on things with
pointer-to-function or -member-function type.
* init.c (build_default_init): Don't use a CONSTRUCTOR to initialize
a pmf.
From-SVN: r39810
|
|
From-SVN: r39809
|
|
From-SVN: r39807
|
|
From-SVN: r39806
|
|
memory load with a register.
* reload1.c (reload_cse_simplify_set): Respect LOAD_EXTEND_OP
when replacing a memory load with a register.
From-SVN: r39805
|
|
* recog.c (validate_replace_src_1): New.
(validate_replace_src_data): Likewise.
(validate_replace_src): Use note_uses.
* rtl.h (note_uses): Declare.
* rtlanal.c (note_uses): New.
Co-Authored-By: Jan Hubicka <jh@suse.cz>
From-SVN: r39804
|
|
* reg-stack.c (stack_def): Make field reg unsigned.
(remove_regno_note): Unsignetize parameter.
From-SVN: r39794
|
|
From-SVN: r39793
|
|
From-SVN: r39790
|
|
* cp-tree.h (DECL_USE_VTT_PARM): Remove.
* decl2.c (maybe_retrofit_in_chrg): Don't create it.
* optimize.c (maybe_clone_body): Don't substitute it.
* call.c (build_new_method_call): Check in_chrg instead.
* init.c (expand_virtual_init): Likewise.
From-SVN: r39785
|
|
introduces at least a type-name.
cp/
* decl.c (check_tag_decl): Make sure a typedef for an anonymous
class-type introduces at least a type-name.
testsuite/
* g++.old-deja/g++.other/decl9.C: New test.
From-SVN: r39781
|
|
2001-02-15 Alexandre Petit-Bianco <apbianco@redhat.com>
* expr.c (build_instanceof): Check for arrays when trying fold to
false.
(http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00993.html)
From-SVN: r39778
|
|
* call.c (convert_like_real): Create a temporary for non-lvalue.
* g++.old-deja/g++.other/init16.C: Update the test so that it does
not need <string> and also tests the initialization at runtime.
From-SVN: r39776
|
|
* ia64.c (errata_emit_nops): Add VOIDmode as second argument to
shladd_operand() call.
From-SVN: r39775
|
|
* gcse.c (hash_scan_set): If cprop, see if REG_EQUAL or REG_EQUIV.
Don't CSE a nop.
(hash_scan_insn): Clean up calls to hash_scan_set.
(compute_kill_rd): REGNO now unsigned.
(try_replace_reg): Rework to use simplify_replace_rtx.
(cprop_jump, cprop_cc0_jump): Likewise.
(cprop_insn): Call find_reg_equal_equiv_note.
Reflect changes to cprop_jump and cprop_cc0_jump.
From-SVN: r39774
|
|
* recog.c (validate_replace_rtx): Replace in operands of
ZERO_EXTRACT in SET_DEST.
From-SVN: r39773
|