summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* expr.c (expand_expr): Use unsave lang hook.Neil Booth2002-03-0810-54/+50
| | | | | | | | | | | | | | | | | | | | | * 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
* * flow.c (propagate_block_delete_insn): Remove unused variable.Andreas Jaeger2002-03-082-8/+11
| | | | From-SVN: r50446
* h8300.c (h8300_adjust_insn_length): Tighten insn length for memory load/store.Kazu Hirata2002-03-082-3/+19
| | | | | | | * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten insn length for memory load/store. From-SVN: r50445
* install.texi (--with-libiconv-prefix): Document.Craig Rodrigues2002-03-082-0/+8
| | | | | | | | 2002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org> * doc/install.texi (--with-libiconv-prefix): Document. From-SVN: r50444
* * doc/sourcebuild.texi: Fix typo.Michael Y. Brukman2002-03-082-1/+5
| | | | From-SVN: r50439
* re PR c/3711 (ICE in instantiate_virtual_regs_1, at function.c:3880)Jakub Jelinek2002-03-084-17/+99
| | | | | | | | | | 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 ...Richard Kenner2002-03-083-100/+105
| | | | | | | * rtl.c (copy_most_rtx): Move from here ... * emit-rtl.c (copy_most_rtx): ... to here. From-SVN: r50435
* Daily bump.GCC Administrator2002-03-082-2/+2
| | | | From-SVN: r50430
* mips.h (LONG_MAX_SPEC): Rewrite, along with SUBTARGET_CPP_SIZE_SPEC.Alexandre Oliva2002-03-083-30/+37
| | | | | | | | * 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
* * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.Alexandre Oliva2002-03-082-92/+91
| | | | From-SVN: r50424
* fp-bit.c (_unord_f2): Compile it in even if US_SOFTWARE_GOFAST is enabled.Alexandre Oliva2002-03-082-2/+5
| | | | | | | * config/fp-bit.c (_unord_f2): Compile it in even if US_SOFTWARE_GOFAST is enabled. From-SVN: r50423
* gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as NULL_RTX.Alexandre Oliva2002-03-083-5/+145
| | | | | | | | | * 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.Ulrich Weigand2002-03-073-3/+9
| | | | | | | | * 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
* Make-lang.in (JAVA_TARGET_INSTALL_NAME): Define.Jeff Sturm2002-03-072-0/+9
| | | | | | | | * java/Make-lang.in (JAVA_TARGET_INSTALL_NAME): Define. (java.install-common): Link native driver to JAVA_TARGET_INSTALL_NAME. From-SVN: r50411
* * g77.f-torture/compile/20020307-1.f: New test.Jeff Law2002-03-072-0/+25
| | | | From-SVN: r50407
* * reload1.c (reload_cse_delete_noop_set): Purge dead edges.Jan Hubicka2002-03-072-0/+7
| | | | From-SVN: r50406
* basic-block.h (fixup_abnormal_edges): Declare.Jan Hubicka2002-03-075-5/+32
| | | | | | | | | | | | * 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
* Add 2002 to the copyright dates.Richard Sandiford2002-03-074-4/+4
| | | | From-SVN: r50404
* * gcc.dg/unordered-1.c: New test.Richard Sandiford2002-03-072-0/+22
| | | | From-SVN: r50402
* defaults.h (MODE_HAS_NANS, [...]): New.Richard Sandiford2002-03-0712-187/+408
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* combine.c (simplify_comparison): If simplifying a logical shift right and ↵Richard Earnshaw2002-03-072-0/+10
| | | | | | | | | 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
* * gcc.c-torture/execute/20020307-1.c: New test.Richard Earnshaw2002-03-072-0/+73
| | | | From-SVN: r50399
* Daily bump.GCC Administrator2002-03-072-2/+2
| | | | From-SVN: r50398
* invoke.texi: Add documentation for -mabi=no-altivec.Aldy Hernandez2002-03-073-2/+16
| | | | | | | | | | | | 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
* Tidy whitespace.Richard Henderson2002-03-061-1/+0
| | | | From-SVN: r50387
* genemit.c (gen_exp): New argument used.Richard Henderson2002-03-062-12/+33
| | | | | | | | | * 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.Ulrich Weigand2002-03-063-9/+24
| | | | | | | | | | * 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
* ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains after completing fast ↵Jeff Law2002-03-062-0/+8
| | | | | | | | | 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...Jan Hubicka2002-03-063-16/+24
| | | | | | | | | | * 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.Jeff Law2002-03-062-0/+11
| | | | | | | * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a COMPARE operator. From-SVN: r50372
* version.c: Fix misplaced leading blanks on first line.Phil Edwards2002-03-064-2/+10
| | | | | | | | 2002-03-06 Phil Edwards <pme@gcc.gnu.org> * version.c: Fix misplaced leading blanks on first line. From-SVN: r50366
* * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.Jan Hubicka2002-03-062-1/+6
| | | | From-SVN: r50363
* cfgcleanup.c (mentions_nonequal_regs): New function.Jan Hubicka2002-03-063-1/+41
| | | | | | | | | * 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.Jakub Jelinek2002-03-062-6/+7
| | | | | | | * 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.Jan Hubicka2002-03-062-14/+5
| | | | | | | * predict.c (estimate_bb_frequencies): Do not reload the frequencies from notes. From-SVN: r50356
* cfgrtl.c (delete_insn_and_edges, [...]): New.Jan Hubicka2002-03-0614-186/+391
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Daily bump.GCC Administrator2002-03-062-4/+4
| | | | From-SVN: r50353
* cppmain.c (setup_callbacks): Disable #pragma and #ident callbacks when ↵Zack Weinberg2002-03-062-2/+12
| | | | | | | | | 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.John David Anglin2002-03-064-2/+13
| | | | | | | | | | * 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
* * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.Richard Henderson2002-03-052-1/+5
| | | | From-SVN: r50339
* gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.Danny Smith2002-03-052-0/+5
| | | | From-SVN: r50336
* This is the documentation for -### that I forgot to add when -### wasIra Ruben2002-03-051-1/+7
| | | | | | originally added. From-SVN: r50328
* mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc -r command line.Jakub Jelinek2002-03-052-2/+8
| | | | | | | | * 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.Jan Hubicka2002-03-053-1/+92
| | | | | | | | * 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
* expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2 wide volatile ↵Jakub Jelinek2002-03-054-1/+19
| | | | | | | | | | | 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.Jakub Jelinek2002-03-054-2/+52
| | | | | | | | * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def is NULL. * gcc.dg/20020304-1.c: New test. From-SVN: r50311
* Daily bump.GCC Administrator2002-03-052-4/+4
| | | | From-SVN: r50310
* builtins.c (cos_builtin): method_return_type ATTRIBUTE_UNUSEDDavid Billinghurst2002-03-052-3/+9
| | | | | | | | | | 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
* rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.Richard Henderson2002-03-052-1/+5
| | | | | | | | 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.Geoffrey Keating2002-03-054-187/+119
| | | | | | | | | | * 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