aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2005-03-22* config/frv/frv-protos.h (frv_branch_cost_string, frv_branch_cost_int)Richard Sandiford5-334/+300
(frv_cpu_string, frv_condexec_insns_str, frv_condexec_insns) (frv_condexec_temps_str, frv_condexec_temps, frv_sched_lookahead_str) (frv_sched_lookahead): Delete. * config/frv/frv.h (MASK_DEFAULT_ALLOC_CC): Move to frv.c. (target_flags, MASK_GPR_32, MASK_FPR_32, MASK_SOFT_FLOAT) (MASK_ALLOC_CC, MASK_DWORD, MASK_DOUBLE, MASK_MEDIA, MASK_MULADD) (MASK_LIBPIC, MASK_ACC_4, MASK_PACK, MASK_LONG_CALLS) (MASK_ALIGN_LABELS, MASK_LINKED_FP, MASK_BIG_TLS, MASK_DEBUG_ARG) (MASK_DEBUG_ADDR, MASK_DEBUG_STACK, MASK_DEBUG, MASK_DEBUG_LOC) (MASK_DEBUG_COND_EXEC, MASK_NO_COND_MOVE, MASK_NO_SCC) (MASK_NO_COND_EXEC, MASK_NO_VLIW_BRANCH, MASK_NO_MULTI_CE) (MASK_FDPIC, MASK_INLINE_PLT, MASK_GPREL_RO, MASK_DEFAULT) (TARGET_GPR_32, TARGET_FPR_32, TARGET_SOFT_FLOAT, TARGET_ALLOC_CC) (TARGET_DWORD, TARGET_DOUBLE, TARGET_MEDIA, TARGET_MULADD) (TARGET_LIBPIC, TARGET_ACC_4, TARGET_DEBUG_ARG, TARGET_DEBUG_ADDR) (TARGET_DEBUG_STACK, TARGET_DEBUG, TARGET_DEBUG_LOC) (TARGET_DEBUG_COND_EXEC, TARGET_NO_COND_MOVE, TARGET_NO_SCC) (TARGET_NO_COND_EXEC, TARGET_NO_VLIW_BRANCH, TARGET_NO_MULTI_CE) (TARGET_NO_NESTED_CE, TARGET_FDPIC, TARGET_INLINE_PLT, TARGET_BIG_TLS) (TARGET_GPREL_RO, TARGET_PACK, TARGET_LONG_CALLS, TARGET_ALIGN_LABELS) (TARGET_LINKED_FP, TARGET_GPR_64, TARGET_FPR_64, TARGET_HARD_FLOAT) (TARGET_FIXED_CC, TARGET_COND_MOVE, TARGET_SCC, TARGET_COND_EXEC) (TARGET_VLIW_BRANCH, TARGET_MULTI_CE, TARGET_NESTED_CE, TARGET_ACC_8) (TARGET_SWITCHES, TARGET_OPTIONS, DEFAULT_CONDEXEC_TEMPS) (DEFAULT_BRANCH_COST, DEFAULT_CONDEXEC_INSNS): Delete. * config/frv/frv.c (frv_branch_cost_string, frv_branch_cost_int) (frv_cpu_string, frv_condexec_insns_str, frv_condexec_insns) (frv_condexec_temps_str, frv_condexec_temps, frv_sched_lookahead_str) (frv_sched_lookahead): Delete. (MASK_DEFAULT_ALLOC_CC): Moved from frv.h. (TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Override defaults. (frv_handle_option): New function. Move -mcpu= handling from... (frv_override_options): ...here. Remove handling of other TARGET_OPTIONS. (frv_ifcvt_modify_tests): Check !TARGET_COND_EXEC instead of TARGET_NO_COND_EXEC and !TARGET_NESTED_CE to TARGET_NO_NESTED_CE. (frv_ifcvt_modify_multiple_tests): Likewise !TARGET_MULTI_CE and TARGET_NO_MULTI_CE. (frv_for_each_packet): Likewise TARGET_NO_VLIW_BRANCH and !TARGET_VLIW_BRANCH. * config/frv/frv.opt: New file. From-SVN: r96883
2005-03-22fold-const.c (fold_build1, [...]): New.Kazu Hirata3-0/+51
* fold-const.c (fold_build1, fold_build2, fold_build3): New. * tree.h: Add corresponding prototypes. From-SVN: r96881
2005-03-22fold-const.c (fold_ternary): Take decomposed arguments of CALL_EXPR.Kazu Hirata2-16/+17
* fold-const.c (fold_ternary): Take decomposed arguments of CALL_EXPR. (fold): Update a call to fold_ternary. From-SVN: r96880
2005-03-22re PR c++/19980 (ICE on invalid template declaration)Volker Reichelt4-1/+23
PR c++/19980 * decl.c (start_preparsed_function): Robustify. * g++.dg/template/redecl3.C: New test. From-SVN: r96872
2005-03-22re PR c++/20499 (ICE on duplicate class definition)Volker Reichelt4-3/+15
PR c++/20499 * parser.c (cp_parser_class_head): Return NULL_TREE when encountering a redefinition. * g++.dg/parse/error16.C: Tweak error markers. From-SVN: r96870
2005-03-22re PR target/20561 (Error compiling jdtcore.jar on powerpc)Jakub Jelinek5-7/+88
PR target/20561 * cfglayout.c (reemit_insn_block_notes): Don't put block notes in between jump table and its label. * final.c (shorten_branches): Handle notes in between ADDR_VEC resp. ADDR_DIFF_VEC and the label preceeding it. (final_scan_insn): Likewise. Ensure ADDR_VEC resp. ADDR_DIFF_VEC is emitted in the right section. * gcc.dg/20050321-2.c: New test. From-SVN: r96867
2005-03-22re PR c++/20465 (error: no matching function for call)Nathan Sidwell4-1/+46
cp: PR c++/20465 PR c++/20381 * typeck.c (build_ptrmemfunc): Allow OFFSET_REF when processing a template. testsuite: PR c++/20465 PR c++/20381 * g++.dg/template/ptrmem12.C: New. From-SVN: r96862
2005-03-22fold-const.c (fold_unary, [...]): Update comments about arguments.Kazu Hirata2-6/+11
* fold-const.c (fold_unary, fold_binary): Update comments about arguments. From-SVN: r96855
2005-03-22re PR rtl-optimization/20527 (Mishandling of postincrement causes bzip2 ↵Hans-Peter Nilsson2-3/+14
miscompilation.) PR rtl-optimization/20527 * combine.c (can_combine_p) [AUTO_INC_DEC]: When INSN has an REG_INC note, test that the register also isn't mentioned in PRED or SUCC. From-SVN: r96853
2005-03-22re PR rtl-optimization/20527 (Mishandling of postincrement causes bzip2 ↵Hans-Peter Nilsson2-0/+86
miscompilation.) PR rtl-optimization/20527 * gcc.c-torture/execute/pr20527-1.c: New test. From-SVN: r96852
2005-03-22dwarf2out.c (dwarf_type_encoding_name): Remove unused prototype and definition.Ben Elliston2-33/+5
* dwarf2out.c (dwarf_type_encoding_name): Remove unused prototype and definition. From-SVN: r96851
2005-03-22* varasm.c (default_assemble_visibility): Remove extra ().Mike Stump2-1/+5
From-SVN: r96849
2005-03-22Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r96847.2
2005-03-22options.exp (check_for_options): Create a real C program...Ben Elliston2-2/+14
* gcc.misc-tests/options.exp (check_for_options): Create a real C program, compile it into a real executable and then delete the .c and .x files afterwards, to avoid problems on testglue targets. From-SVN: r96844
2005-03-21re PR middle-end/20557 (FAIL: gcc.dg/pr18628.c)Roger Sayle2-17/+15
PR middle-end/20557 * bb-reorder.c (duplicate_computed_gotos): Use can_duplicate_block_p to determine whether a block can be duplicated, rather than test whether the block contains noncopyable insns ourselves. From-SVN: r96836
2005-03-21i860.h (PREDICATE_CODES): Remove nonexistent predicates.Kazu Hirata2-2/+5
* config/i860/i860.h (PREDICATE_CODES): Remove nonexistent predicates. From-SVN: r96834
2005-03-21* config/ip2k/ip2k.h (target_flags, TARGET_SWITCHES): Delete.Richard Sandiford2-5/+4
From-SVN: r96831
2005-03-21* config/fr30/fr30.h (TARGET_SMALL_MODEL_MASK, TARGET_SMALL_MODEL)Richard Sandiford3-18/+33
(TARGET_DEFAULT, target_flags, TARGET_SWITCHES): Delete. * config/fr30/fr30.opt: New file. From-SVN: r96830
2005-03-21re PR tree-optimization/20542 (Bootstrap failure at -Os)Daniel Berlin6-50/+86
2005-03-18 Daniel Berlin <dberlin@dberlin.org> Fix PR tree-optimization/20542 * tree-flow-inline.h (overlap_subvar): Move to here. * tree-ssa-operands.c: From here. * tree-flow.h (overlap_subvar): Declare. * tree-ssa-alias.c (add_pointed_to_var): Use overlap_subvar here. * tree-ssa-loop-im.c (is_call_clobbered_ref): Return proper answer for variables with subvars. From-SVN: r96829
2005-03-21Fix PR middle-end/20177 and add test case.Mostafa Hagog5-14/+80
From-SVN: r96828
2005-03-21lib1funcs.asm (__mulsi3): Use symbolic name for ACCLO.Bob Wilson3-8/+14
* config/xtensa/lib1funcs.asm (__mulsi3): Use symbolic name for ACCLO. * config/xtensa/xtensa.md (movsi_internal, movhi_internal, movqi_internal): Likewise. From-SVN: r96826
2005-03-21xtensa-protos.h: (xtensa_simm7...Bob Wilson6-482/+342
* config/xtensa/xtensa-protos.h: (xtensa_simm7, xtensa_uimm8, xtensa_uimm8x2, xtensa_uimm8x4, xtensa_ai4const, xtensa_lsi4x4, xtensa_b4const): Delete prototypes. (xtensa_simm8, xtensa_simm8x256, xtensa_simm12b, xtensa_b4constu, xtensa_mask_immediate, xtensa_mem_offset): Update prototypes. (xtensa_b4const_or_zero, xtensa_const_ok_for_letter_p, xtensa_extra_constraint): New prototypes. (add_operand, arith_operand, nonimmed_operand, mem_operand, mask_operand, extui_fldsz_operand, sext_operand, sext_fldsz_operand, lsbitnum_operand, branch_operand, ubranch_operand, call_insn_operand, move_operand, const_float_1_operand, fpmem_offset_operand, branch_operator, ubranch_operator, boolean_operator): Delete prototypes. * config/xtensa/xtensa.c (b4const_or_zero): Rename to ... (xtensa_b4const_or_zero): ...this. Change return type to bool and argument type to HOST_WIDE_INT. (xtensa_simm8, xtensa_simm8x256, xtensa_simm12b, xtensa_mask_immediate): Likewise. (xtensa_uimm8, xtensa_uimm8x2, xtensa_uimm8x4, xtensa_b4const): Likewise. Also make these functions static. (xtensa_simm7, xtensa_ai4const, xtensa_lsi4x4): Delete. (xtensa_const_ok_for_letter_p): New. (add_operand, arith_operand, nonimmed_operand, mem_operand, mask_operand, extui_fldsz_operand, sext_operand, sext_fldsz_operand, lsbitnum_operand, branch_operand, ubranch_operand, call_insn_operand, move_operand, const_float_1_operand, fpmem_offset_operand, branch_operator, ubranch_operator, boolean_operator): Move to predicates.md. (smalloffset_mem_p): Inline code from xtensa_lsi4x4. (xtensa_mem_offset): Change return type to bool. (xtensa_extra_constraint): New. (gen_int_relational): Update type of const_range_p function pointer. Use xtensa_b4const_or_zero. * config/xtensa/xtensa.h (CONST_OK_FOR_LETTER_P): Define to xtensa_const_ok_for_letter_p. Update comments. (EXTRA_CONSTRAINT): Define to xtensa_extra_constraint. (PREDICATE_CODES): Delete. * config/xtensa/xtensa.md: Include predicates.md. * config/xtensa/predicates.md: New file. From-SVN: r96824
2005-03-21v850-protos.h: Remove the prototypes for reg_or_int9_operand...Kazu Hirata6-451/+467
* config/v850/v850-protos.h: Remove the prototypes for reg_or_int9_operand, reg_or_const_operand, pattern_is_ok_for_prepare, pattern_is_ok_for_dispose, reg_or_0_operand, reg_or_int5_operand, call_address_operand, movsi_source_operand, power_of_two_operand, not_power_of_two_operand, special_symbolref_operand, pattern_is_ok_for_prologue, pattern_is_ok_for_epilogue, and register_is_ok_for_epilogue. * config/v850/v850.c (reg_or_0_operand, reg_or_int5_operand, reg_or_int9_operand, reg_or_const_operand, call_address_operand, special_symbolref_operand, movsi_source_operand, power_of_two_operand, not_power_of_two_operand, register_is_ok_for_epilogue, pattern_is_ok_for_epilogue, pattern_is_ok_for_prologue, pattern_is_ok_for_dispose, pattern_is_ok_for_prepare): Move to predicates.md. * config/v850/v850.h (PREDICATE_CODES): Remove. * config/v850/v850.md: Include predicates.md. * config/v850/predicates.md: New. From-SVN: r96822
2005-03-21* Makefile.in (BASEVER, DEVPHASE, DATESTAMP)Zack Weinberg2-26/+41
(BASEVER_c, DEVPHASE_c, DATESTAMP_c) (BASEVER_s, DEVPHASE_s, DATESTAMP_s, version): Set with :=. (itoolsdir, itoolsdatadir): Move definition above new first use. (install-itoolsdirs): New rule. (install-mkheaders): Depend on install-itoolsdirs, not install-include-dir. From-SVN: r96821
2005-03-21sse-2.c: New.Stuart Hastings2-0/+20
2005-03-21 Stuart Hastings <stuart@apple.com> * gcc.target/i386/sse-2.c: New. From-SVN: r96820
2005-03-21* tree-into-ssa.c: Remove obsolete comments.Kazu Hirata2-6/+7
From-SVN: r96813
2005-03-21tree-ssa-loop.c (gate_tree_complete_unroll): Run complete unrolling if ↵Richard Guenther3-4/+8
-fpeel-loops is specified, too. 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org> * tree-ssa-loop.c (gate_tree_complete_unroll): Run complete unrolling if -fpeel-loops is specified, too. * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Remove superfluous check for flag_unroll_loops. From-SVN: r96808
2005-03-21optabs.h (enum optab_index): Add new OTI_lrint and OTI_llrint.Uros Bizjak7-1/+77
* optabs.h (enum optab_index): Add new OTI_lrint and OTI_llrint. (lrint_optab, llrint_optab): Define corresponding macros. * optabs.c (init_optabs): Initialize lrint_optab and llrint_optab. * genopinit.c (optabs): Implement lrint_optab using lrintsi2 pattern and llrint_optab using llrintdi2 patterns. * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_LRINT{,F,L} using lrint_optab and BUILT_IN_LLRINT{,F,L} using llrint_optab. (expand_builtin): Expand BUILT_IN_LRINT{,F,L} and BUILT_IN_LLRINT{,F,L} using expand_builtin_mathfn if flag_unsafe_math_optimizations is set. testsuite: * gcc.dg/builtins-46.c: Also check lrint* and llrint*. From-SVN: r96802
2005-03-21combine.c (combine_simplify_rtx, [...]): Adjust calls to reverse_comparison.Paolo Bonzini4-59/+40
2005-03-21 Paolo Bonzini <bonzini@gnu.org> * combine.c (combine_simplify_rtx, simplify_if_then_else, simplify_logical, if_then_else_cond, known_cond, simplify_comparison): Adjust calls to reverse_comparison. Don't use combine_reversed_comparison_code). (combine_reversed_comparison_code): Remove. (reversed_comparison): Using reversed_comparison_code, move it... * jump.c (reversed_comparison): ... here. * rtl.h (reversed_comparison): Add prototype. From-SVN: r96801
2005-03-21builtins.c (fold_builtin): Take decomposed arguments of CALL_EXPR.Kazu Hirata6-15/+28
* builtins.c (fold_builtin): Take decomposed arguments of CALL_EXPR. * fold-const.c (fold_ternary): Update a call to fold_builtin. * gimplify.c (gimplify_call_expr): Likewise. * tree-ssa-ccp.c (ccp_fold, ccp_fold_builtin): Likewise. * tree.h: Update the prototype of fold_builtin. From-SVN: r96800
2005-03-21rtl.h (struct rtx_hooks): Add gen_lowpart_no_emit.Paolo Bonzini5-22/+28
2005-03-21 Paolo Bonzini <bonzini@gnu.org> * rtl.h (struct rtx_hooks): Add gen_lowpart_no_emit. * rtlhooks.c (gen_lowpart_no_emit_general): New. * rtlhooks-def.h (gen_lowpart_no_emit_general): Declare. (RTL_HOOKS_GEN_LOWPART_NO_EMIT): New. * simplify-rtx.c (simplify_binary_operation_1): Use it. From-SVN: r96799
2005-03-21builtins.c (fold_builtin_1): Take decomposed arguments of CALL_EXPR.Kazu Hirata1-0/+1
* builtins.c (fold_builtin_1): Take decomposed arguments of CALL_EXPR. (fold_builtin): Update a call to fold_builtin_1. From-SVN: r96798
2005-03-21builtins.c (fold_builtin_1): Take decomposed arguments of CALL_EXPR.Kazu Hirata2-5/+11
* builtins.c (fold_builtin_1): Take decomposed arguments of CALL_EXPR. From-SVN: r96797
2005-03-21Oops - forgot to include ChangeLog entry for m32r patchNick Clifton1-0/+1
From-SVN: r96796
2005-03-21crash25.C: Fix typo.Paolo Carlini2-1/+5
2005-03-21 Paolo Carlini <pcarlini@suse.de> * g++.dg/parse/crash25.C: Fix typo. From-SVN: r96795
2005-03-21remove conflict indicatorsNathan Sidwell1-1/+0
From-SVN: r96790
2005-03-21re PR other/20564 (gcov default behaviour changed)Nathan Sidwell3-10/+41
PR other/20564 * gcov.c (output_lines): Only output function block summary when outputting branch information. * doc/gcov.texi: Document format of preamble and additional block information lines. From-SVN: r96788
2005-03-21re PR c++/20461 (ICE at "class 'C' does not have any field named 'f'" error)Paolo Carlini4-0/+37
2005-03-21 Paolo Carlini <pcarlini@suse.de> PR c++/20461 * g++.dg/parse/crash24.C: New test. PR c++/20536 * g++.dg/parse/crash25.C: New test. 2005-03-21 Paolo Carlini <pcarlini@suse.de> PR c++/20147 * g++.dg/ext/stmtexpr4.C: New test. From-SVN: r96785
2005-03-21re PR c++/20461 (ICE at "class 'C' does not have any field named 'f'" error)Paolo Carlini3-0/+21
2005-03-21 Paolo Carlini <pcarlini@suse.de> PR c++/20461 PR c++/20536 * init.c (emit_mem_initializers): Don't crash on undefined types. 2005-03-21 Paolo Carlini <pcarlini@suse.de> PR c++/20147 * semantics.c (finish_stmt_expr_expr): Return immediately if error_operand_p (expr). From-SVN: r96784
2005-03-21Oops - forgot to include ChangeLog entry for m32r patchKazu Hirata1-0/+29
From-SVN: r96782
2005-03-21libgcc2.h (LIBGCC2_HAS_SF_MODE): New macro.Richard Sandiford3-38/+36
* libgcc2.h (LIBGCC2_HAS_SF_MODE): New macro. (LIBGCC2_HAS_DF_MODE, LIBGCC2_HAS_TF_MODE, LIBGCC2_HAS_XF_MODE): Make the defaults false if BITS_PER_UNIT != 8. (SFtype, SCtype, __fixsfdi, __floatdisf, __fixunssfSI, __fixunssfDI) (__powisf2, __divsc3, __mulsc3): Guard with LIBGCC2_HAS_SF_MODE rather than BITS_PER_UNIT != 8. (L_fixdfdi, L_fixsfdi, L_fixtfdi, L_fixunsdfdi, L_fixunsdfsi) (L_fixunssfdi, L_fixunssfsi, L_fixunstfdi, L_fixunsxfdi, L_fixunsxfsi) (L_fixxfdi, L_floatdidf, L_floatdisf, L_floatditf, L_floatdixf): Remove #undefs. * libgcc2.c (__fixunssfDI, __fixsfdi, __floatdisf, __fixunssfSI) (__powisf2, __divsc3, __mulsc3): Guard with LIBGCC2_HAS_SF_MODE. From-SVN: r96778
2005-03-21re PR middle-end/20539 (ICE in simplify_subreg, at simplify-rtx.c:3674)Roger Sayle7-17/+93
PR middle-end/20539 * fold-const.c (fold_binary): Fix type mismatch between TRUTH_{AND,OR,XOR}_EXPR nodes an their operands' types. (fold_binary) <TRUTH_XOR_EXPR>: Avoid calling invert_truthvalue for non-truth-valued expressions. * c-common.c (c_common_truthvalue_conversion): Handle ERROR_MARK and FUNCTION_DECL in the main switch. <TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR, TRUTH_AND_EXPR, TRUTH_OR_EXPR, TRUTH_XOR_EXPR>: When changing the result type of these tree nodes, we also need to convert their operands to match. <TRUTH_NOT_EXPR>: Likewise. * gcc.c-torture/compile/pr13066-1.c: New test case. * gcc.c-torture/compile/pr20539-1.c: Likewise. * g++.dg/opt/pr13066-1.C: Likewise. From-SVN: r96777
2005-03-21c-common.c (lvalue_or_else): Replace by lvalue_error; only give diagnostic ↵Joseph Myers7-33/+75
without checking whether an lvalue. * c-common.c (lvalue_or_else): Replace by lvalue_error; only give diagnostic without checking whether an lvalue. * c-common.h (lvalue_p): Remove. (enum lvalue_use): Update comment. (lvalue_or_else): Replace by lvalue_error. * c-typeck.c (lvalue_p): Make static. (lvalue_or_else): New. Call lvalue_error. cp: * cp-tree.h (lvalue_or_else, lvalue_p): New. * typeck.c (lvalue_or_else): New. Call lvalue_error. From-SVN: r96776
2005-03-21Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r96774.2
2005-03-21rs6000.c (rs6000_parm_start): New function.Alan Modra2-16/+26
* config/rs6000/rs6000.c (rs6000_parm_start): New function. (function_arg_advance): Use rs6000_parm_start. (function_arg, rs6000_arg_partial_bytes): Likewise. From-SVN: r96771
2005-03-20c-common.c (check_case_value): Adjust comment about stripping NOPs.Joseph Myers3-36/+19
* c-common.c (check_case_value): Adjust comment about stripping NOPs. (handle_vector_size_attribute): Don't strip NON_LVALUE_EXPR. * c-typeck.c (default_conversion, convert_arguments, build_modify_expr, convert_for_assignment, store_init_value, digest_init): Use STRIP_TYPE_NOPS instead of stripping nops manually. Remove inaccurate comments. From-SVN: r96770
2005-03-20varasm.c (do_assemble_alias): Restore comment describing function.Roger Sayle2-1/+11
* varasm.c (do_assemble_alias): Restore comment describing function. Annotate the target parameter as potentially unused. Co-Authored-By: Joseph Myers <joseph@codesourcery.com> From-SVN: r96768
2005-03-20re PR target/18551 (wrong asm output for -mcall-prologues with g++)Marek Michalkiewicz2-5/+9
PR target/18551 * config/avr/avr.c (avr_output_function_prologue): Do not use current_function_name() in a label, use a local label instead. From-SVN: r96765
2005-03-20rs6000.c (rs6000_generate_compare): Test flag_finite_math_only, not ↵David Edelsohn2-3/+8
flag_unsafe_math_optimizations. * config/rs6000/rs6000.c (rs6000_generate_compare): Test flag_finite_math_only, not flag_unsafe_math_optimizations. From-SVN: r96764
2005-03-20builtins.c (fold_builtin_1): Update a call to targetm.fold_builtin.Kazu Hirata8-15/+32
* builtins.c (fold_builtin_1): Update a call to targetm.fold_builtin. * hooks.c (hook_tree_tree_bool_null): Rename to hook_tree_tree_tree_bool_null. Take one more argument of type tree. * hooks.h: Update the prototype of hook_tree_tree_bool_null. * target-def.h (TARGET_FOLD_BUILTIN): Define it as hook_tree_tree_tree_bool_null. * target.h (gcc_target): Update the prototype of fold_builtin. * config/alpha/alpha.c (alpha_fold_builtin): Take decomposed arguments of CALL_EXPR. * doc/tm.texi (TARGET_FOLD_BUILTIN): Update. Mention the new prototype. From-SVN: r96762