| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* expr.c (expand_expr): Use unsave lang hook.
* langhooks-def.h (LANG_HOOKS_UNSAVE): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.h (struct lang_hooks): New hook unsave.
* tree.c (lang_unsave, lang_unsave_expr_now): Remove.
(unsave_expr_1): Remove unused lang_unsave_expr_now.
(unsave_expr_now_r): Rename lhd_unsave. Update. Return input.
(unsave_expr_now): Remove.
* tree.h (unsave_expr_now, lang_unsave,
lang_unsave_expr_now): Remove.
(lhd_unsave): New.
cp:
* cp-lang.c (LANG_HOOKS_UNSAVE): Redefine.
* cp-tree.h (cxx_unsave): New.
* tree.c (cp_unsave): Rename cxx_unsave, update prototype.
(init_tree): Update.
From-SVN: r50449
|
|
|
|
| |
From-SVN: r50446
|
|
|
|
|
|
|
| |
* config/h8300/h8300.c (h8300_adjust_insn_length): Tighten
insn length for memory load/store.
From-SVN: r50445
|
|
|
|
|
|
|
|
| |
2002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org>
* doc/install.texi (--with-libiconv-prefix): Document.
From-SVN: r50444
|
|
|
|
| |
From-SVN: r50439
|
|
|
|
|
|
|
|
|
|
| |
PR c/3711
* builtins.c (std_expand_builtin_va_arg): Do all computations on
trees.
* gcc.c-torture/execute/20020307-2.c: New test.
From-SVN: r50438
|
|
|
|
|
|
|
| |
* rtl.c (copy_most_rtx): Move from here ...
* emit-rtl.c (copy_most_rtx): ... to here.
From-SVN: r50435
|
|
|
|
| |
From-SVN: r50430
|
|
|
|
|
|
|
|
| |
* config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
SUBTARGET_CPP_SIZE_SPEC.
* config/mips/abi64.h (LONG_MAX_SPEC): Delete.
From-SVN: r50425
|
|
|
|
| |
From-SVN: r50424
|
|
|
|
|
|
|
| |
* config/fp-bit.c (_unord_f2): Compile it in even if
US_SOFTWARE_GOFAST is enabled.
From-SVN: r50423
|
|
|
|
|
|
|
|
|
| |
* config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as
NULL_RTX. Set all HFmode operations as NULL_RTX.
* optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is
NULL_RTX, try reversing the comparison and the operands.
From-SVN: r50422
|
|
|
|
|
|
|
|
| |
* genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
and MATCH_OP_DUP.
From-SVN: r50412
|
|
|
|
|
|
|
|
| |
* java/Make-lang.in (JAVA_TARGET_INSTALL_NAME): Define.
(java.install-common): Link native driver to
JAVA_TARGET_INSTALL_NAME.
From-SVN: r50411
|
|
|
|
| |
From-SVN: r50407
|
|
|
|
| |
From-SVN: r50406
|
|
|
|
|
|
|
|
|
|
|
|
| |
* basic-block.h (fixup_abnormal_edges): Declare.
* reload1.c (fixup_abnormal_edges): New function.
* reg-stack.c (convert_regs): Use it.
* gcse.c (insert_insn_end_bb): Handle trapping insns.
* gcse.c (hash_scan_set): Refuse instructions with EH edges.
From-SVN: r50405
|
|
|
|
| |
From-SVN: r50404
|
|
|
|
| |
From-SVN: r50402
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
(MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New.
* flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New.
(HONOR_SIGN_DEPENDENT_ROUNDING): New.
* builtins.c (expand_builtin_mathfn): Use HONOR_NANS.
* c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y
unless x and y could be infinite.
(expand_unordered_cmp): New, mostly split from expand_tree_builtin.
Check that the common type of both arguments is a real, even for
targets without unordered comparisons. Allow an integer argument
to be compared against a real.
(expand_tree_builtin): Use expand_unordered_cmp.
* combine.c (combine_simplify_rtx): Use the new HONOR_... macros.
* cse.c (fold_rtx): Likewise. Fix indentation.
* fold-const.c (fold_real_zero_addition_p): New.
(fold): Use it, and the new HONOR_... macros.
* ifcvt.c (noce_try_minmax): Use the new HONOR_... macros.
* jump.c (reversed_comparison_code_parts): After searching for
the true comparison mode, use HONOR_NANS to decide whether it
can be safely reversed.
(reverse_condition_maybe_unordered): Remove IEEE check.
* simplify-rtx.c (simplify_binary_operation): Use the new macros
to decide which simplifications are valid. Allow the following
simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b),
and (a - -b) to (a + b).
(simplify_relational_operation): Use HONOR_NANS.
* doc/tm.texi: Document the MODE_HAS_... macros.
From-SVN: r50401
|
|
|
|
|
|
|
|
|
| |
compare with constant...
* combine.c (simplify_comparison): If simplifying a logical shift
right and compare with constant, force the comparison to unsigned.
From-SVN: r50400
|
|
|
|
| |
From-SVN: r50399
|
|
|
|
| |
From-SVN: r50398
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-07 Aldy Hernandez <aldyh@redhat.com>
* doc/invoke.texi: Add documentation for -mabi=no-altivec.
* config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
-mabi=no-altivec
(alt_reg_names): Remove % for vrsave.
From-SVN: r50392
|
|
|
|
| |
From-SVN: r50387
|
|
|
|
|
|
|
|
|
| |
* genemit.c (gen_exp): New argument used. Invoke copy_rtx
if used indicates we've already emitted one copy of an operand.
(gen_insn, gen_expand, output_add_clobbers): Supply a null used.
(gen_split): Supply a non-null used.
From-SVN: r50386
|
|
|
|
|
|
|
|
|
|
| |
* reload1.c (reload): Unshare all rtl after reload is done.
* simplify-rtx.c (simplify_plus_minus): Do not abort,
but simply fail if the expression is too complex to simplify.
(simplify_gen_binary): Handle simplify_plus_minus failures.
From-SVN: r50380
|
|
|
|
|
|
|
|
|
| |
dead code elimination.
* ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
after completing fast dead code elimination.
From-SVN: r50374
|
|
|
|
|
|
|
|
|
|
| |
* toplev.c (rest_of_compilation): Do jump threading before SSA path;
consistently call delete_trivially_dead_insns after CSE and GCSE;
fix DFI_life dumping; do jump threading after liveness; do crossjumping
after liveness2; update comment in last crossjumping.
* cfgcleanup.c (try_crossjump_to_edge): Dirtify block.
From-SVN: r50373
|
|
|
|
|
|
|
| |
* m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a
COMPARE operator.
From-SVN: r50372
|
|
|
|
|
|
|
|
| |
2002-03-06 Phil Edwards <pme@gcc.gnu.org>
* version.c: Fix misplaced leading blanks on first line.
From-SVN: r50366
|
|
|
|
| |
From-SVN: r50363
|
|
|
|
|
|
|
|
|
| |
* cfgcleanup.c (mentions_nonequal_regs): New function.
(thread_jump): Use it.
* toplev.c (rest_of_compilation): Run jump threading after
liveness.
From-SVN: r50361
|
|
|
|
|
|
|
| |
* ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
patch.
From-SVN: r50359
|
|
|
|
|
|
|
| |
* predict.c (estimate_bb_frequencies): Do not reload the
frequencies from notes.
From-SVN: r50356
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New.
* rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare
* basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
delete_noop_moves): Return indeger.
* flow.c (ndead): New variable.
(propagate_block_delete_insn): Use delete_insn_and_edges; remove
BB argument; update callers.
(propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
(life_analysis): Do not call purge_all_dead_edges.
(update_life_info): Return number of deleted insns; print statistics.
(update_life_info_in_dirty_blocks): likewise.
(delete_noop_moves): Use delete_insn_and_edges; print statistics;
return number of insns deleted.
* cse.c: Include timevar.h
(delete_trivially_dead_insns): Kill preserve_basic_blocks argument;
iterate until stabilizes; print statistics; return number of killed
insns.
* Makefile.in: (cse.o): Add timevar.h dependency
* rtl.h (delete_trivially_dead_insns): New.
* timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer.
* toplev.c (rest_of_compilation): Update callers.
* cfgcleanup.c (try_optimize_cfg): Kill blocks.
(try_optimize_cfg): Do not update liveness.
(cleanup-cfg): Loop until try_optimize_cfg and dead code
removal stabilizes; use delete_trivially_dead_insns.
* cfgrtl.c (verify_flow_info): Sanity check outgoing edges.
From-SVN: r50355
|
|
|
|
| |
From-SVN: r50353
|
|
|
|
|
|
|
|
|
| |
processing assembly language.
* cppmain.c (setup_callbacks): Disable #pragma and #ident
callbacks when processing assembly language.
From-SVN: r50346
|
|
|
|
|
|
|
|
|
|
| |
* pa.h (ASM_FILE_END): Define.
* som.h (ASM_FILE_END): Delete.
* pa.c (function_arg): Don't pass floats in general registers in
indirect calls if TARGET_ELF32.
From-SVN: r50341
|
|
|
|
| |
From-SVN: r50339
|
|
|
|
| |
From-SVN: r50336
|
|
|
|
|
|
| |
originally added.
From-SVN: r50328
|
|
|
|
|
|
|
|
| |
* mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
-r command line. Don't hide any symbols if not building
shared libgcc.
From-SVN: r50321
|
|
|
|
|
|
|
|
| |
* cfg.c (dump_flow_info): Warn about profile mismatches.
* cfgrtl.c (verify_flow_info): Few aditional sanity checks.
(purge_dead_edges): Remove REG_BR_PROB notes on simplejumps.
From-SVN: r50320
|
|
|
|
|
|
|
|
|
|
|
| |
memory by parts.
* expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
wide volatile memory by parts.
* gcc.c-torture/compile/20020304-2.c: New test.
From-SVN: r50314
|
|
|
|
|
|
|
|
| |
* ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
is NULL.
* gcc.dg/20020304-1.c: New test.
From-SVN: r50311
|
|
|
|
| |
From-SVN: r50310
|
|
|
|
|
|
|
|
|
|
| |
2002-03-05 David Billinghurst <David.Billinghurst@riotinto.com>
* builtins.c(cos_builtin): method_return_type ATTRIBUTE_UNUSED
* builtins.c(sin_builtin): Likewise
* builtins.c(sqrt_builtin): Likewise
From-SVN: r50304
|
|
|
|
|
|
|
|
| |
2002-03-05 Richard Henderson <rth@redhat.com>
* rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
From-SVN: r50301
|
|
|
|
|
|
|
|
|
|
| |
* toplev.c (documented_lang_options): Document more
language-specific options.
* doc/invoke.texi (Warning Options): Correct documentation for
-Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers.
* c-decl.c (c_decode_option): Use a table to handle warning options.
From-SVN: r50299
|