aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)Author
2004-11-23gcc:jsm28
2004-11-23 Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * config/sol2-c.c (solaris_register_pragmas): Use c_register_pragma_with_expansion. * config/sol2.h (HANDLE_PRAGMA_PACK_WITH_EXPANSION): Define. * c-pragma.c (c_register_pragma): Update call to cpp_register_pragma. (c_register_pragma_with_expansion): New function. (init_pragma): Honor HANDLE_PRAGMA_PACK_WITH_EXPANSION. * c-pragma.h (c_register_pragma_with_expansion): New prototype. * doc/extend.texi (Solaris Pragmas): Mention macro expansion for #pragma align. * doc/tm.texi (c_register_pragma_with_expansion, HANDLE_PRAGMA_PACK_WITH_EXPANSION): Document. gcc/testsuite: 2004-11-23 Daniel Jacobowitz <dan@codesourcery.com> * gcc.dg/pragma-align-2.c: Test macro expansion. * gcc.dg/pragma-pack-2.c: New test. libcpp: 2004-11-23 Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * internal.h (struct lexer_state): Add in_deferred_pragma. * directives.c (struct pragma_entry): Add allow_expansion. (insert_pragma_entry): Take allow_expansion flag. (register_pragma): Likewise. (cpp_register_pragma): Likewise. (_cpp_init_internal_pragmas): Update calls to cpp_register_pragma. (do_pragma): Honor allow_expansion. (cpp_handle_deferred_pragma): Set in_deferred_pragma. * include/cpplib.h (cpp_register_pragma): Update prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91117 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23 * emit-rtl.c, rtl.h (subreg_hard_regno): Remove.rth
* caller-save.c (mark_set_regs): Use subreg_regno instead. * final.c (alter_subreg): Likewise. * local-alloc.c (reg_is_born): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91115 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23 * simplify-rtx.c (simplify_subreg): Use subreg_regno_offset directlyrth
instead of using a SUBREG temporary. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91114 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23 * tree-cfg.c (tree_forwarder_block_p): Speed up by reorderingkazu
two checks. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91108 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23 * gcc.dg/vect/pr18425.c: Use effective target vect_long.rth
* gcc.dg/vect/vect-13.c, gcc.dg/vect/vect-17.c, gcc.dg/vect/vect-18.c, gcc.dg/vect/vect-19.c, gcc.dg/vect/vect-20.c, gcc.dg/vect/vect-48a.c, gcc.dg/vect/vect-56a.c, gcc.dg/vect/vect-7.c, gcc.dg/vect/vect-77.c, gcc.dg/vect/vect-77a.c, gcc.dg/vect/vect-78.c, gcc.dg/vect/vect-86.c, gcc.dg/vect/vect-87.c, gcc.dg/vect/vect-88.c: XFAIL for alpha. * gcc.dg/vect/vect.exp: Add check for alpha. * lib/target-supports.exp (check_alpha_max_hw_available): New. (check_effective_target_vect_int): Enable for alpha. (check_effective_target_vect_long): New. (is-effective-target): Add it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91105 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23 * function.h (struct function): Remove calls_longjmp.zack
(current_function_calls_longjmp): Delete. * tree.h (ECF_LONGJMP): Delete. (ECF_SIBCALL, ECF_PURE, ECF_SP_DEPRESSED, ECF_ALWAYS_RETURN) (ECF_LIBCALL_BLOCK): Everybody slide down one. (ECF_CONST, ECF_NORETURN, ECF_SIBCALL): Clarify comments. * builtins.c (expand_builtin_longjmp): Don't set current_function_calls_longjmp. * calls.c (special_function_p): Mark longjmp and siglongjmp with ECF_NORETURN, not ECF_LONGJMP. (emit_call_1, expand_call, emit_library_call_value_1): Don't check for ECF_LONGJMP. * tree-cfg.c (make_exit_edges, is_ctrl_altering_stmt) (need_fake_edge_p): Likewise. * config/avr/avr.h, config/ip2k/ip2k.h: Don't define NON_SAVING_SETJMP. * system.h: Poison NON_SAVING_SETJMP. * function.c (use_register_for_decl) * gcse.c (compute_hash_table_work, compute_store_table) * postreload-gcse.c (record_opr_changes) * reload.c (find_equiv_reg) * reload1.c (reload) * config/i386/i386.c (ix86_can_use_return_insn_p): Remove code conditional on NON_SAVING_SETJMP. * doc/tm.texi: Delete documentation of NON_SAVING_SETJMP. * config/i386/sysv3.h: Delete file. * config/i386/i386.c (ix86_svr3_asm_out_constructor): Delete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91101 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23 * tree-vectorizer.c (vect_analyze_operations): Don't vectorize ifdorit
the vectorization factor is greater than the iteration count. (vect_gen_niters_for_prolog_loop): No need to calculate min if the iteration count is known. (vect_build_symbol_bound): Removed. Its functionality moved to vect_generate_tmps_on_preheader. (vect_generate_tmps_on_preheader): Moved content of vect_build_symbol_bound here instead of calling it. Changed some variables names. (vect_build_loop_niters): We don't expect a new_bb to be generated - use gcc_assert. (vect_gen_niters_for_prolog_loop): Likewise. (vect_gen_niters_for_prolog_loo): Likewise. (slpeel_make_loop_iterate_ntimes): Use buildN instead of build. (slpeel_add_loop_guard): Likewise. (slpeel_tree_peel_loop_to_edge): Likewise. (vect_do_peeling_for_alignment): Likewise. (vect_get_first_index): Missing space. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91100 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23 * config/s390/s390.md ("*iordi3"): Mark commutative.uweigand
("*iorsi3_zarch", "*iorsi3_esa"): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91099 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23 * tree-cfg.c (tree_try_redirect_by_replacing_jump): Speed upkazu
by restricting to the case with two outgoing edges. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91098 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23 * tree-phinode.c (resize_phi_node): Abort when LEN is strictlykazu
greater than PHI_ARG_CAPACITY. (reserve_phi_args_for_new_edge): Initialize the new PHI argument to NULL_TREE. Increment PHI_NUM_ARGS. (add_phi_arg): Add a PHI argument to the slot given by E->dest_idx. (remove_phi_arg_num): Do not write to PHI_ARG_EDGE. * tree-flow-inline (phi_arg_from_edge): Return E->dest_idx. * tree-ssa.c (ssa_redirect_edge): Check for a missing PHI argument by looking at PHI_ARG_DEF. (verify_phi_args): Check for a missing PHI argument. Remove the check for duplicate PHI arguments. * tree.h (PHI_ARG_EDGE): Redefine in terms of EDGE_PRED. (phi_arg_d): Remove e. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91097 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-232004-11-23 Andreas Krebbel <krebbel1@de.ibm.com>uweigand
* config/s390/s390.c (s390_backchain_string): Removed. (s390_return_addr_rtx, s390_back_chain_rtx, s390_frame_info) (s390_emit_prologue, s390_va_start, s390_gimplify_va_arg): Changed users of TARGET_BACKCHAIN, TARGET_NO_BACKCHAIN and TARGET_KERNEL_BACKCHAIN to reflect the new options. * config/s390/s390.h (MASK_BACKCHAIN, MASK_PACKED_STACK): New macros. (TARGET_KERNEL_BACKCHAIN): Removed. (TARGET_BACKCHAIN): Former triple state option change to a target flag. (TARGET_PACKED_STACK): New macro. (TARGET_SWITCHES): New switches added. (TARGET_OPTIONS): "backchain", "no-backchain" and "kernel-backchain" removed. (DYNAMIC_CHAIN_ADDRESS): Use TARGET_PACKED_STACK. * config/s390/s390.md ("allocate_stack", "restore_stack_block") ("save_stack_nonlocal", "restore_stack_nonlocal"): Modified to reflect the change in target switch semantics. * config/s390/tpf.h (TARGET_DEFAULT_BACKCHAIN): Removed. (TARGET_DEFAULT): MASK_BACKCHAIN added. * doc/invoke.texi: Added documentation for the new/changed options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91096 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23 rtl-optimization/18614uros
* simplify-rtx.c (simplify_binary_operation): Do not simplify inner elements of constant arguments of VEC_CONCAT insn. testsuite: * gcc.dg/pr18614-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91094 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23 * gthr-solaris.h (__gthread_recursive_mutex_init_function): Useebotcazou
0 instead of NULL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91092 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23 * tree-phinode.c (make_phi_node): Use a new variable,kazu
capacity, to receive the return value of ideal_phi_node_len. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91091 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23 * gcc.dg/setjmp-2.c: New test.ebotcazou
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91087 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23 * gthr-solaris.h (__gthread_recursive_mutex_t): New type.ebotcazou
(__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Define to __gthread_recursive_mutex_init_function. (__gthread_key_create): Properly cast -1. (__gthread_recursive_mutex_init_function): New function. (__gthread_recursive_mutex_lock): Rewrite. (__gthread_recursive_mutex_trylock): Likewise. (__gthread_recursive_mutex_unlock): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91086 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23Fix formatting nit.ebotcazou
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91085 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-232004-11-23 Ralf Corsepius <ralf.corsepius@rtems.org>corsepiu
* config/c4x/t-rtems: New. * config.gcc: Reflect having added c4x/t-rtems. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91082 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23 PR tree-opt/18403dorit
PR tree-opt/18505 * tree-vectorizer.c (vect_create_data_ref_ptr): Use lang_hooks.types.type_for_size instead of integer_type_node for the type of ptr_update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91081 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-232004-11-23 Ralf Corsepius <ralf.corsepius@rtems.org>corsepiu
* config.gcc (h8300-*-rtems*): Use h8300/t-rtems. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91079 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23 * xref.h (xref_flag_value): Remove.bje
(xref_set_data, xref_get_data): Likewise. (xref_set_current_fp): Likewise. (XREF_NONE): Likewise. (XREF_GET_DATA): Likewise. * xref.c (xref_flag_value): Remove. (xref_set_data, xref_get_data): Likewise. (xref_set_current_fp): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91078 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-232004-11-23 Ralf Corsepius <ralf.corsepius@rtems.org>corsepiu
* config/arm/t-rtems: New. * config.gcc: Reflect having added arm/t-rtems. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91076 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23 * tree-cfg.c (tree_execute_on_growing_pred): New.kazu
(tree_cfg_hooks): Add tree_execute_on_growing_pred. * tree-flow.h: Add a prototype for reserve_phi_args_for_new_edge. * tree-phinodes.c (reserve_phi_args_for_new_edge): New. (add_phi_arg): Don't resize a PHI array. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91075 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23 * gjavah.c (output_directory): Make static.bje
(temp_directory): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91074 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-232004-11-23 Ralf Corsepius <ralf.corsepius@rtems.org>corsepiu
* config.gcc: Add avr-*-rtems*. * config/avr/t-rtems: New. * config/avr/rtems.h: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91071 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23Testcase from PR rtl-optimization/18611dberlin
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91069 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-232004-11-22 Daniel Berlin <dberlin@dberlin.org>dberlin
* df.c (dataflow_set_a_op_b): Remove reslt parameter, since it's always the same as op1. Use bitmap_ior_into and bitmap_and_into. Add comment to function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91067 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23 PR pch/14940danglin
* config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __hppa__. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91066 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23 PR rtl-optimization/14838danglin
* emit-rtl.c (get_first_nonnote_insn): Don't assume first insn is a note. (get_last_nonnote_insn): Don't assume last insn is a note. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91065 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23 * fold-const.c (nondestructive_fold_binary_to_constant): Renamesayle
to fold_binary_to_constant. (nondestructive_fold_unary_to_constant): Likewise, rename to fold_unary_to_constant. (fold_relational_hi_lo): Update call to fold_binary_to_constant. * tree.h (nondestructive_fold_binary_to_constant): Update prototype. (nondestructive_fold_unary_to_constant): Likewise. * tree-ssa-ccp.c (ccp_fold): Update calls to fold_unary_to_constant and fold_binary_to_constant. * tree-ssa-loop-niter.c (EXEC_BINARY, EXEC_UNARY): Delete macros. (inverse, number_of_iterations_cond): Replace uses of EXEC_BINARY and EXEC_UNARY with calls to fold_*nary_to_constant. * tree-ssa-loop-ivopts.c (EXEC_BINARY, EXEC_UNARY): Delete macros. (idx_find_step): Replace uses of EXEC_BINARY with calls to fold_binary_to_constant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91063 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23 * config/i386/i386.h (TARGET_USE_FANCY_MATH_387): New macro.sayle
* config/i386/i386.c (override_options): Set MASK_NO_FANCY_MATH_387 automatically for targets without TARGET_80387. * config/i386/i386.md (sqrtsf2, sqrtsf2_1, sqrtsf2_i387, sqrtdf2, sqrtdf2_1, sqrtdf2_i387, *sqrtextendsfdf2, sqrtxf2, *sqrtextenddfxf2, *sqrtextendsfxf2, fpremxf4, fmodsf3, fmoddf3, fmodxf3, fprem1xf4, dremsf3, dremdf3, dremxf3, *sindf2, *sinsf2, *sinextendsfdf2, *sinxf2, *cosdf2, *cossf2, *cosextendsfdf2, *cosxf2, sincosdf3, sincossf3, *sincosextendsfdf3, sincosxf3, *tandf3_1, tandf2, *tansf3_1, tansf2, *tanxf3_1, tanxf2, atan2df3_1, atan2df3, atandf2, atan2sf3_1, atan2sf3, atansf2, atan2xf3_1, atan2xf3, atanxf2, asindf2, asinsf2, asinxf2, acosdf2, acossf2, acosxf2, fyl2x_xf3, logsf2, logdf2, logxf2, log10sf2, log10df2, log10xf2, log2sf2, log2df2, log2xf2, fyl2xp1_xf3, log1psf2, log1pdf2, log1pxf2, *fxtractxf3, logbsf2, logbdf2, logbxf2, ilogbsi2, *f2xm1xf2, *fscalexf4, expsf2, expdf2, expxf2, exp10sf2, exp10df2, exp10xf2, exp2sf2, exp2df2, exp2xf2, expm1df2, expm1sf2, expm1xf2, frndintxf2, rintdf2, rintsf2, rintxf2, frndintxf2_floor, floordf2, floorsf2, floorxf2, frndintxf2_ceil, ceildf2, ceilsf2, ceilxf2, frndintxf2_trunc, btruncdf2, btruncsf2, btruncxf2, frndintxf2_mask_pm, nearbyintdf2, nearbyintsf2, nearbyintxf2): Simplify conditionals using TARGET_USE_FANCY_MATH_387. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91061 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-232004-11-22 Dale Johannesen <dalej@apple.com>dalej
* config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION): Conditionalize properly and comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91060 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-232004-11-22 James A. Morrison <phython@gcc.gnu.orgphython
* config/sparc/sparc.c: Include insn-codes.h and langhooks.h. (sparc_init_builtins): New function. (sparc_init_vis_builtins): Create builtin functions for VIS instructions. (sparc_expand_builtin): Expand builtin functions for VIS instructions. (TARGET_INIT_BUILTINS): Define to sparc_init_builtins. (TARGET_EXPAND_BUILTIN): Define to sparc_expand_builtin. (def_builtin): New macro for creating builtin functions. (P): New mode macro for pointer types. (UNSPEC_FPACK16, UNSPEC_FPACK32, UNSPEC_FPACKFIX, UNSPEC_FEXPAND, UNSPEC_FPMERGE, UNSPEC_MUL16AL, UNSPEC_MUL8UL, UNSPEC_MULDUL, UNSPEC_ALIGNDATA, UNSPEC_ALIGNADDR, UNSPEC_PDIST): New constants. (fpack16_vis, fpackfix_vis, fpack32_vis, fexpand_vis, fpmerge_vis, fmul8x16_vis, fmul8x16au_vis, fmul8x16al_vis, fmul8sux16_vis, fmul8ulx16_vis, fmuld8sux16_vis, fmuld8ulx16_vis, pdist_vis, faligndata<V64:mode>_vis, alignaddr<P:mode>_vis): New patterns. testsuite: * gcc.target/sparc/align.c, gcc.target/sparc/combined-2.c, gcc.target/sparc/fpack16.c, gcc.target/sparc/fpack32.c, gcc.target/sparc/fpackfix.c, gcc.target/fexpand.c, gcc.target/sparc/fpmerge.c, gcc.target/sparc/fpmul.c, gcc.target/sparc/pdist.c: New tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91057 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-23Daily bump.gccadmin
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91053 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-22 * tree-if-conv.c (clean_predicate_lists): Clean all basic blocks.dpatel
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91045 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-22 * tree-if-conv.c (if_convertable_phi_p): Rename to ...dpatel
(if_convertible_phi_p): ... new name. (if_convertable_modify_expr_p): Rename to ... (if_convertible_modify_expr_p): ... new name. (if_convertable_stmt_p): Rename to ... (if_convertible_stmt_p): ... new name. (if_convertable_bb_p): Rename to ... (if_convertible_bb_p): ... new name. (if_convertable_loop_p): Rename to ... (if_convertible_loop_p): ... new name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91044 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-22 * gcc.dg/uninit-H.c: Define ASM for Xtensa targets.bwilson
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91043 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-22 PR target/18444ebotcazou
* configure.ac (threading): Accept 'posix95'. * configure: Regenerate. * config.gcc (i[34567]86-*-solaris2*): On Solaris up to 2.6, include sol26.h and default to posix95 threads if have_pthread_h. (sparc-*-solaris2*): Likewise. * gthr.h: Include gthr-posix95.h if _PTHREADS95 is defined. * gthr-posix95.h: New file. * config/sol26.h: New file. * doc/install.texi (--enable-threads): Document 'posix95'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91041 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-22 * pointer-set.h (pointer_set_contains): Remove.bje
* pointer-set.c (pointer_set_contains): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91040 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-22 * tree-ssa.c (ssa_remove_edge): Remove.kazu
* tree-flow.h: Remove the corresponding prototype. * tree-cfg.c: Replace ssa_remove_edge with remove_edge. * basic-block.h: Likewise. * tree-if-conv.c: Likewise. * tree-ssa-threadupdate.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91039 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-222004-11-22 Dale Johannesen <dalej@apple.com>dalej
* calls.c (expand_call): Do not call preserve_temp_slots. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91038 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-22 * tree-phinodes.c (remove_phi_arg_num): Make it static.kazu
* tree-flow.h: Remove the corresponding prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91037 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-22 * tree-cfg.c (tree_execute_on_shrinking_pred): New.kazu
(tree_cfg_hooks): Use it. * tree-ssa.c (ssa_remove_edge): Don't call remove_phi_args. (ssa_redirect_edge): Don't call remove_phi_arg_num. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91036 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-22 * cfg.c (unchecked_make_edge): Call execute_on_growing_predkazu
after making an edge. (remove_edge): Call execute_on_shrinking_pred before removing an edge. (redirect_edge_succ): Call execute_on_growing_pred and execute_on_shrinking_pred. * cfghooks.c (execute_on_growing_pred): New. (execute_on_shrinking_pred): Likewise. * cfghooks.h (cfg_hooks): Add execute_on_growing_pred and execute_on_shrinking_pred. Add prototypes for execute_on_growing_pred and execute_on_shrinking_pred. * cfgrtl.c (rtl_cfg_hooks): Add NULL hooks to execute_on_growing_pred and execute_on_shrinking_pred. (cfg_layout_rtl_cfg_hook): Likewise. * tree-cfg.c (tree_cfg_hooks): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91035 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-22 * tree-flow.h: Remove the prototype for remove_phi_arg.kazu
Add a prototype for remove_phi_args. * tree-phinodes.c (remove_phi_arg): Remove. (remove_phi_args): New. * tree-ssa.c (ssa_remove_edge): Call remove_phi_args instead of remove_phi_arg. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91034 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-22 * doc/cfg.texi (Maintaining the CFG): Use @ftable instead ofbje
@table to list the BSI methods. Use individual @findex directives instead of one with a comma-separated list of index entries. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91033 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-22 PR tree-optimization/18529rakdver
* fold-const.c (fold_to_nonsharp_ineq_using_bound): New function. (simple_operand_p): Use STRIP_NOPS. Consider SSA names simple. (fold): Call fold_to_nonsharp_ineq_using_bound. * tree-ssa-loop-niter.c (simplify_replace_tree): New function. (number_of_iterations_cond): Fold the expressions before futher processing. (tree_simplify_using_condition): Handle case when cond or expr is an EQ_EXPR specially. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91031 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-22fixed some missed bits in the last commit.dje
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91027 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-222004-11-22 Daniel Berlin <dberlin@dberlin.org>dberlin
* tree-ssa.c (verify_ssa): SSA_OP_ALL_USES should be SSA_OP_ALL_USES | SSA_OP_ALL_KILLS for verification purposes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91026 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-222004-11-22 David Edelsohn <edelsohn@gnu.org>dje
Fariborz Jahanian <fjahanian@apple.com> * config/rs6000/rs6000.c (rs6000_return_in_memory): Test TARGET_ALTIVEC_ABI. (function_arg_boundary): Align 8 to 16 byte vectors like SPE. Align 16 byte and larger vectors like Altivec. (function_arg_advance): Pass any 16 byte vector like Altivec vector. (function_arg): Same. (rs6000_pass_by_references): Test TARGET_ALTIVEC_ABI. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91025 138bc75d-0d04-0410-961f-82ee72b054a4