Skip to content
Snippets Groups Projects
  1. Apr 06, 2005
    • Paolo Bonzini's avatar
      altivec.md (UNSPEC_VSLW, [...]): New constants, used throughout. · 27ffac37
      Paolo Bonzini authored
      2005-04-06  Paolo Bonzini  <bonzini@gnu.org>
      
      	* config/rs6000/altivec.md (UNSPEC_VSLW, UNSPEC_SUBS,
      	UNSPEC_SET_VSCR): New constants, used throughout.
      	(*andc3_v4sf): New.
      	(altivec_vspltisb, altivec_vsplitish, altivec_vsplitisw):
      	Replace with...
      	(altivec_vspltis<VI_char>): ... this pattern, using
      	a QImode const_int_operand for the immediate.
      	(abs<mode>2, absv4sf2, altivec_abss_<mode>): Rewrite as
      	define_expands.
      
      From-SVN: r97699
      27ffac37
    • Mark Mitchell's avatar
      re PR c++/20734 (rejects valid pointer to member) · 6d05585b
      Mark Mitchell authored
      	PR c++/20734
      	* cp-tree.def (OFFSET_REF): Correct comments.
      	* init.c (build_offset_ref): Remove misleading comment.
      	* typeck.c (build_unary_op): Handle pointer-to-member creation
      	here, rather than ...
      	(unary_complex_lvalue): ... here.
      
      	PR c++/20734
      	* g++.dg/template/ptrmem13.C: New test.
      
      From-SVN: r97696
      6d05585b
    • Ralf Corsepius's avatar
      re PR target/17822 ([3.4 only] avr: Hard-coded XXX_FOR_TARGET) · 05b205e8
      Ralf Corsepius authored
      2005-04-06  Ralf Corsepius  <ralf.corsepius@rtems.org>
      
      	PR target/17822
      	* config/avr/t-avr (AR_FOR_TARGET,RANLIB_FOR_TARGET): Remove.
      
      From-SVN: r97694
      05b205e8
    • Jason Merrill's avatar
      re PR c++/19312 (ICE in stabilize_call when throwing a copy) · bf7d31c1
      Jason Merrill authored
              PR c++/19312
              * tree.c (stabilize_init): Don't bother trying to stabilize
              something with no side-effects.
      
      From-SVN: r97691
      bf7d31c1
    • Kelley Cook's avatar
      Makefile.in (LIBGCC2_CFLAGS): Compile with -pipe. · d34a464a
      Kelley Cook authored
      2005-04-06  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* Makefile.in (LIBGCC2_CFLAGS): Compile with -pipe.
      
      From-SVN: r97686
      d34a464a
    • Kelley Cook's avatar
      acinclude.m4 (_GLIBCXX_USE_LONG_LONG, [...]): Use long form of AC_DEFINE ... · 4651e622
      Kelley Cook authored
      2005-04-06  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
      	_GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
      	_GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
      	_GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
      	_GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
      	HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
      	HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
      	* acconfig.h: ... to eliminate them from here.
      	(_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
      	* config.h.in, configure: Regenerate.
      
      From-SVN: r97685
      4651e622
    • GCC Administrator's avatar
      Daily bump. · d4ffd4c3
      GCC Administrator authored
      [[Split portion of a mixed commit.]]
      
      From-SVN: r97681.2
      d4ffd4c3
    • Ben Elliston's avatar
      gcc.c: Correct comment about DEFAULT_SWITCH_TAKES_ARG and... · 8ecf5a68
      Ben Elliston authored
      	* gcc.c: Correct comment about DEFAULT_SWITCH_TAKES_ARG and
      	DEFAULT_WORD_SWITCH_TAKES_ARG which incorrectly reported these
      	macros as living in "this file" and not gcc.h.
      
      From-SVN: r97678
      8ecf5a68
    • Kelley Cook's avatar
      Makefile.am (ACLOCAL_AMFLAGS): Define. · c41f82b2
      Kelley Cook authored
      2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* Makefile.am (ACLOCAL_AMFLAGS): Define.
      	* crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
      	* configure.ac: Use it.
      	* acinclude.m4: Delete explicit m4_includes and sincludes.
      	* aclocal.m4, configure, Makefile.in, po/Makefile.in,
      	src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
      	testsuite/Makefile.in: Regenerate.
      
      From-SVN: r97677
      c41f82b2
    • Ben Elliston's avatar
      invoke.texi (Optimize Options): Mention -ftree-lrs, not -ftree-live_range_split. · 3c632d89
      Ben Elliston authored
      	* doc/invoke.texi (Optimize Options): Mention -ftree-lrs, not
      	-ftree-live_range_split.  Perhaps renamed at some point?
      
      From-SVN: r97676
      3c632d89
  2. Apr 05, 2005
    • Zdenek Dvorak's avatar
      re PR target/20625 (ivopts produces code that generates "unaligned access exception") · d482f417
      Zdenek Dvorak authored
      	PR target/20625
      	* tree-ssa-loop-ivopts.c (generic_type_for): New function.
      	(add_candidate_1): Use generic_type_for instead of unsigned_type_for.
      
      From-SVN: r97674
      d482f417
    • Zdenek Dvorak's avatar
      tree-flow.h (number_of_iterations_cond): Declaration removed. · c33e657d
      Zdenek Dvorak authored
      	* tree-flow.h (number_of_iterations_cond): Declaration removed.
      	* tree-ssa-loop-niter.c (number_of_iterations_cond): Made static.
      	(number_of_iterations_special): New function.
      	(number_of_iterations_exit): Use number_of_iterations_special.
      	Use simplify_using_outer_evolutions only at -O3.
      	(number_of_iterations_cond, tree_simplify_using_condition,
      	simplify_using_initial_conditions, loop_niter_by_eval,
      	compare_trees, can_count_iv_in_wider_type_bound,
      	simplify_using_outer_evolutions): Use fold_build.
      
      From-SVN: r97673
      c33e657d
    • Thomas Fitzsimmons's avatar
      re PR libgcj/20750 (libgcj needs a --with-java-home configure option) · c33b7bf0
      Thomas Fitzsimmons authored
      2005-04-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* doc/install.texi (Configuration): Document --with-java-home.
      
      2005-04-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	PR libgcj/20750
      	* Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
      	* Makefile.in: Regenerate.
      	* configure.ac: Add --with-java-home option.
      	* configure: Regenerate.
      	* external/Makefile.in: Regenerate.
      	* external/sax/Makefile.in: Regenerate.
      	* external/w3c_dom/Makefile.in: Regenerate.
      	* gcj/Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      	* java/lang/natRuntime.cc (insertSystemProperties): Set java.home
      	to JAVA_HOME macro.
      
      From-SVN: r97671
      c33b7bf0
    • Joseph Myers's avatar
      rw.po: New file. · c72a879d
      Joseph Myers authored
      	* rw.po: New file.
      
      [[Split portion of a mixed commit.]]
      
      From-SVN: r97668.2
      c72a879d
    • Joseph Myers's avatar
      * rw.po: New file. · cfc5104a
      Joseph Myers authored
      From-SVN: r97666
      cfc5104a
    • Richard Henderson's avatar
      re PR target/20342 (ICE in spill_failure, at reload1.c:1872) · b4e82619
      Richard Henderson authored
              PR target/20342
              PR target/20447
              * config/i386/i386.c (print_operand): Handle vector zeros.
              (ix86_split_to_parts): Handle CONST_VECTOR.
              (ix86_hard_regno_mode_ok): Allow MMX modes in general regs.
              (ix86_modes_tieable_p): Use ix86_hard_regno_mode_ok to decide
              what modes to tie for MMX and SSE registers.
              * config/i386/i386.h (MMX_REG_MODE_P): Remove.
              * config/i386/i386.md: Extend move 0 -> xor peephole to apply
              to vector modes as well.
              * config/i386/predicates.md (const0_operand): Handle VOIDmode
              properly as an input mode.
      
      From-SVN: r97663
      b4e82619
    • Per Bothner's avatar
      * lib/gcc.exp: Always add -fno-show-column, for now. · aca32e16
      Per Bothner authored
      From-SVN: r97662
      aca32e16
    • Andrew Pinski's avatar
      re PR testsuite/20767 (gcc.dg/tree-ssa/ssa-pre-8.c scan-tree-dump-times... · ebabaece
      Andrew Pinski authored
      re PR testsuite/20767 (gcc.dg/tree-ssa/ssa-pre-8.c scan-tree-dump-times Eliminated: 4 1 fails on 64-bit systems)
      
      2005-04-05  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR testsuite/20767
              * gcc.dg/tree-ssa/ssa-pre-8.c (foo): Use __SIZE_TYPE__ instead
              of plain old "unsigned int" for the type of "i".  Makes this test
              64bit clean.
      
      From-SVN: r97661
      ebabaece
    • Tom Tromey's avatar
      jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException. · 8b6e7690
      Tom Tromey authored
      	* jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
      	* java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
      	Rewrote to use _Jv_FindClassFromSignature.
      	* verify.cc (resolve): throw NoClassDefFoundError.
      	* link.cc (resolve_field): Throw NoClassDefFoundError.
      	(find_field): Likewise.
      	* prims.cc (_Jv_FindClassFromSignature): Removed recursion.
      	Handle error cases.  Added 'endp' argument.
      	* include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
      
      From-SVN: r97660
      8b6e7690
    • Andrew MacLeod's avatar
      tree-ssa-operands.c (verify_abort): Use %p for pointers. · 13148dd2
      Andrew MacLeod authored
      2005-04-05  Andrew MacLeod  <amacleod@redhat.com>
      
      	* tree-ssa-operands.c (verify_abort): Use %p for pointers.
      
      From-SVN: r97659
      13148dd2
    • Tom Tromey's avatar
      Makefile.in: Rebuilt. · 3078e929
      Tom Tromey authored
      	* Makefile.in: Rebuilt.
      	* Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
      	gtk_awt_peer_sources.
      	(lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
      	(lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
      	($(gtk_awt_peer_sources:.java=.lo)): Removed.
      	(gtk-awt-peer.lo): New target.
      
      From-SVN: r97656
      3078e929
    • Andrew MacLeod's avatar
      tree-pretty-print.c (dump_generic_node): Use %p for pointer. · dbb9a00f
      Andrew MacLeod authored
      2005-04-05  Andrew MacLeod  <amacleod@redhat.com>
      
      	* tree-pretty-print.c (dump_generic_node): Use %p for pointer.
      
      From-SVN: r97655
      dbb9a00f
    • Jakub Jelinek's avatar
      [multiple changes] · f19e3a64
      Jakub Jelinek authored
      2005-04-05  Jakub Jelinek  <jakub@redhat.com>
      
      	* config/i386/i386.c (init_cumulative_args): For -m32 -mfpmath=sse
      	and local functions, set sse_nregs to 8 and float_in_sse.
      	(function_arg_advance, function_arg): If float_in_sse, pass
      	SFmode and DFmode arguments in SSE registers.
      	* config/i386/i386.h (CUMULATIVE_ARGS): Add float_in_sse field.
      
      	* config/i386/i386.c (ix86_value_regno): Only optimize local functions
      	of -funit-at-a-time.
      
      2005-04-05  Paolo Bonzini  <bonzini@gnu.org>
      
      	* config/i386/i386-protos.h (ix86_function_value): Accept two
      	arguments, like the target macro.
      	* config/i386/i386.h (FUNCTION_VALUE): Pass both arguments.
      	* config/i386/i386.c (ix86_function_value): Accept the second
      	argument of the target macro.
      	(ix86_function_ok_for_sibcall): Pass a function pointer to
      	ix86_function_value.
      	(ix86_function_value, ix86_libcall_value) [!TARGET_64BIT]: Adjust
      	call to ix86_value_regno).
      	(ix86_value_regno): Add support for returning floating point values
      	in SSE registers.
      
      2005-04-05  Paolo Bonzini  <bonzini@gnu.org>
      
      	* gcc.dg/i386-ssefn-1.c: New test.
      	* gcc.dg/i386-ssefn-2.c: New test.
      	* gcc.dg/i386-ssefn-3.c: New test.
      	* gcc.dg/i386-ssefn-4.c: New test.
      
      From-SVN: r97654
      f19e3a64
    • Jakub Jelinek's avatar
      re PR tree-optimization/20076 (__builtin_return(__builtin_apply()) inlined incorrectly) · 4b284111
      Jakub Jelinek authored
      	PR tree-optimization/20076
      	* tree-inline.c (inline_forbidden_p_1): Prevent inlining functions
      	that call __builtin_return or __builtin_apply_args.
      
      	* gcc.dg/builtin-apply4.c: New test.
      
      From-SVN: r97653
      4b284111
    • Jakub Jelinek's avatar
      re PR preprocessor/19475 (missing whitespace after macro name in C90 or C++) · cae064e7
      Jakub Jelinek authored
      	PR preprocessor/19475
      	* macro.c (create_iso_definition): For < ISO C99, don't
      	pedwarn if there is no whitespace between macro name and its
      	replacement, but the replacement starts with a basic character
      	set character.
      
      	* gcc.dg/cpp/macspace1.c: New test.
      	* gcc.dg/cpp/macspace2.c: New test.
      
      From-SVN: r97652
      cae064e7
    • Francois-Xavier Coudert's avatar
      * gfortran.dg/pr20755.f: Fixed bad format. · 87ac6a50
      Francois-Xavier Coudert authored
      From-SVN: r97650
      87ac6a50
    • Andrew MacLeod's avatar
      lambda-code.c (lambda_loopnest_to_gcc_loopnest): Use update_stmt. · f430bae8
      Andrew MacLeod authored
      
      2005-04-05  Andrew MacLeod  <amacleod@redhat.com>
      
      	* lambda-code.c (lambda_loopnest_to_gcc_loopnest): Use update_stmt.
      	Use immediate use iterator.
      	(stmt_is_bumper_for_loop): Use immediate use iterator.
      	* predict.c (strip_builtin_expect): Use update_stmt.
      	* tree-cfg.c (update_modified_stmts): New. Call update_stmt_if_modified
      	on all elements of a STATEMENT_LIST.
      	(bsi_insert_before, bsi_insert_after): Call update_modified_stmts.
      	(bsi_remove): Remove imm_use links and mark the stmt as modified.
      	(bsi_replace): Mark stmt as modified and the update it.
      	* tree-complex.c (update_complex_assignment): Call mark_stmt_modified.
      	(expand_complex_libcal): Call update_stmt.
      	(expand_complex_comparison): Call mark_stmt_modified.
      	(expand_complex_operations_1): Call update_stmt_if_modified.
      	(expand_vector_operations_1): Call mark_stmt_modified.
      	* tree-dfa.c (compute_immediate_uses, free_df_for_stmt, free_df,
      	compute_immediate_uses_for_phi, compute_immediate_uses_for_stmt,
      	add_immediate_use, redirect_immediate_use,
      	redirect_immediate_uses, dump_immediate_uses, debug_immediate_uses,
      	dump_immediate_uses_for, debug_immediate_uses_for): Delete.
      	(mark_new_vars_to_rename): Call update_stmt.
      	* tree-dump.c (dump_option_value_in): Add "stmtaddr".
      	* tree-flow-inline.h (modify_stmt): Rename to mark_stmt_modified.
      	Ignore PHI nodes.
      	(unmodify_stmt): Delete.
      	(update_stmt): New.  Force an update of a stmt.
      	(update_stmt_if_modified): update a stmt if it is out of date.
      	(get_stmt_operands): Verify stmt is NOT modified.
      	(stmt_modified_p): Update comment.
      	(delink_imm_use): Remove a use node from its immuse list.
      	(link_imm_use_to_list): Link a use node to a specific list.
      	(link_imm_use): Link a node to the correct list.
      	(set_ssa_use_from_ptr): Set a use node to a specific value, and insert
      	it in the correct list, if appropriate.
      	(link_imm_use_stmt): Link a use node, and set the stmt pointer.
      	(relink_imm_use): Link a use node in place of another node in a list.
      	(relink_imm_use_stmt): LInk a node in place of another node, and set
      	the stmt pointer.
      	(end_safe_imm_use_traverse): New.  Terminate a safe immuse iterator.
      	(end_safe_imm_use_p): New.  Check for the end of a safe immuse iterator.
      	(first_safe_imm_use): New.  Initialize a safe immuse iterator.
      	(next_safe_imm_use): New.  Proceed to next safe immuse iterator value.
      	(end_readonly_imm_use_p): New.  Check for end of a fast immuse iterator.
      	(first_readonly_imm_use): New.  Initialize a fast immuse iterator.
      	(next_readonly_imm_use): New.  Get the next fast immuse iterator value.
      	(has_zero_uses): New.  Return true if there are no uses of a var.
      	(has_single_use): New.  Return true if there is only a single use of a
      	variable.
      	(single_imm_use): New.  Return the simgle immediate use.
      	(num_imm_uses): New.  Return the number of immediate uses.
      	(get_v_must_def_ops): Use is now a pointer.
      	(use_operand_p, get_v_may_def_op_ptr, get_vuse_op_ptr,
      	get_v_must_def_kill_ptr, get_phi_arg_def_ptr): Return the address of
      	the use node.
      	(get_immediate_uses, num_immediate_uses, immediate_use): Delete.
      	(delink_stmt_imm_use): Delink all immuses from a stmt.
      	(phi_arg_index_from_use): New.  Return a phi arg index for a use.
      	* tree-flow.h (struct dataflow_d): Delete.
      	(immediate_use_iterator_d): New.  Immediate use iterator struct.
      	(FOR_EACH_IMM_USE_FAST): New.  Macro for read only immuse iteration.
      	(FOR_EACH_IMM_USE_SAFE): New.  Macro for write-safe immuse iteration.
      	(BREAK_FROM_SAFE_IMM_USE): New.  Macro for earlyu exit from write-safe
      	iteration.
      	(struct stmt_ann_d): Remove dataflow_t from struct.
      	* tree-if-conv.c (tree_if_conversion).  Don't call free_df.
      	(if_convertible_phi_p): Use FAST immuse iterator.
      	(if_convertible_loop_p): Don't call compute_immediate_uses.
      	(replace_phi_with_cond_modify_expr): Call update_stmt.
      	* tree-into-ssa.c (mark_def_sites, ssa_mark_def_sites): Call
      	update_stmt_if_modified.
      	(rewrite_all_into_ssa): Initialize ssa operands.
      	* tree-loop-linear.c (linear_transform_loops): Don't call free_df or
      	compute_immediate_uses.
      	* tree-optimize.c (execute_todo): Call verify_ssa whenever the
      	ssa_property is available.
      	(execute_one_pass):  Change parameters passed to execute_todo.
      	* tree-outof-ssa.c (rewrite_trees): Don't call modify_stmt.
      	(remove_ssa_form): Call fini_ssa_operands.
      	(insert_backedge_copies): Delete call to modify_stmt.
      	* tree-phinodes.c (make_phi_node): Initialize use nodes.
      	(release_phi_node): Delink any use nodes before releasing.
      	(resize_phi_node): Relink any use nodes.
      	(remove_phi_arg_num): Delink the use node.
      	(remove_phi_node): Release the ssa_name AFTER releasing the phi node.
      	(remove_all_phi_nodes_for): Release phi node first.
      	* tree-pretty-print.c (dump_generic_node): Print stmt address.
      	* tree-sra.c (mark_all_v_defs): Call update_stmt_if_modified.
      	(scalarize_use, scalarize_copy): Call update_stmt.
      	* tree-ssa-alias.c (compute_may_aliases): Update all modified stmts.
      	(compute_points_to_and_addr_escape): Call mark_stmt_modified.
      	* tree-ssa-cpp.c (need_imm_uses_for): Delete.
      	(ccp_initialize): Remove call to compute_immediate_uses.
      	(substitute_and_fold, execute_fold_all_builtins): Call update_stmt.
      	* tree-ssa-dom.c (tree_ssa_dominator_optimize): Update all modified
      	stmts.
      	(simplify_cond_and_lookup_avail_expr): Call mark_stmt_modified.
      	(simplify_switch_and_lookup_avail_expr): Call mark_stmt_modified.
      	(eliminate_redundant_computations): Call mark_stmt_modified.
      	(cprop_operand): Call mark_stmt_modified.
      	(optimize_stmt): Call update_stmt_if_modified and mark_stmt_modified.
      	* tree-ssa-dse.c (fix_phi_uses, fix_stmt_v_may_defs): Delete.
      	(dse_optimize_stmt): Use new immuse interface.
      	(tree_ssa_dse): Remove calls to compute_immediate_uses and free_df.
      	* tree-ssa-forwprop.c (need_imm_uses_for): Delete.
      	(substitute_single_use_vars): Use new immuse interface.
      	(tree_ssa_forward_propagate_single_use_vars): Remove calls to free_df
      	and compute_immediate_uses.
      	* tree-ssa-loop-im.c (single_reachable_address): Use new immuse
      	interface.
      	(rewrite_mem_refs): Call update_stmt.
      	(determine_lsm): Remove call to compute_imm_uses and free_df.
      	* tree-ssa-loop-ivcanon.c (create_canonical_iv): Call update_stmt.
      	(try_unroll_loop_completely): Call update_stmt.
      	* tree-ssa-loop-ivopts.c (rewrite_address_base): Call update_stmt.
      	(rewrite_use_compare): Call update_stmt.
      	(compute_phi_arg_on_exit): Insert each stmt before trying to process.
      	(rewrite_use) : Call update_stmt.
      	* tree-ssa-loop-manip.c (verify_loop_closed_ssa): Add arg to call.
      	* tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Call
      	update_stmt.
      	* tree-ssa-operands.c (NULL_USE_OPERAND_P): Remove declaration.
      	(allocate_use_optype, allocate_vuse_optype): Adjust allocation size.
      	(free_uses, free_vuses, free_v_may_defs, free_v_must_defs): Delink
      	use nodes.
      	(initialize_vuse_operand): New.  Initialize a vuse operand.
      	(initialize_v_may_def_operand): New.  Initialize a maydef operand.
      	(initialize_v_must_def_operand): New.  Initialize a mustdef operand.
      	(finalize_ssa_defs): Use stmt parameter.
      	(correct_use_link): Ensure a use node is in the correct list, and has
      	the correct stmt pointer.
      	(finalize_ssa_uses, finalize_ssa_v_may_defs, finalize_ssa_vuses,
      	finalize_ssa_v_must_defs): Also initialize use nodes.
      	(finalize_ssa_stmt_operands): Pass extra stmt operands.
      	(build_ssa_operands): Seperate parsing from final operand construction.
      	(parse_ssa_operands): New.  Parse entry point for operand building.
      	(swap_tree_operands): New.  Swap 2 tree operands.
      	(update_stmt_operands): Ranamed from get_stmt_operands.  Always builds
      	operands.
      	(get_expr_operands): Call swap_tree_operands when needed.
      	(copy_virtual_operands): Use initialize routines for virtual use ops.
      	(create_ssa_artficial_load_stmt): Add extra stmt parameter.
      	(verify_abort): New.  Issue imm_use error.
      	(verify_imm_links): New Verify imm_use links for a var.
      	(dump_immediate_uses_for): New.  Dump imm_uses for a var to file.
      	(dump_immediate_uses): New.  Dump imm_uses for all vars to file.
      	(debug_immediate_uses): New.  Dump imm_uses for all vars to stderr.
      	(debug_immediate_uses_for): New.  Dump imm_uses for a var to stderr.
      	* tree-ssa-operands.h (struct use_operand_ptr): Delete.
      	(NULL_USE_OPERAND_P) Define.
      	(use_optype_d, v_def_use_operand_type, vuse_optype_d): Add immediate
      	use node.
      	(struct vuse_operand_type): New struct.
      	(SET_USE): Call set_ssa_use_from_ptr.
      	(USE_STMT): Define.
      	(PHI_ARG_INDEX_FROM_USE): Define.
      	* tree-ssa-phiopt.c (replace_phi_edge_with_variable): Set the phi
      	argument via SET_USE, not PHI_ARG_DEF_TREE.
      	* tree-ssa-pre.c (eliminate): Call update_stmt.
      	* tree-ssa-propagate.c (cfg_blocks_get): Use imm_use iterators.  Don't
      	call free_df.
      	* tree-ssa-sink.c (all_immediate_uses_same_place): Use imm_use iterator.
      	(nearest_common_dominator_of_uses): Use imm_use iterator.
      	(statement_sink_location): Use imm_use iterator and interface.
      	(execute_sink_code): Don't call compute_immediate_uses or free-df.
      	* tree-ssa-threadupdate.c (create_edge_and_update_destination_phis): Use
      	PHI_ARG_DEF, not PHI_ARG_DEF_TREE.
      	* tree-ssa.c (verify_use, verify_phi_args): Verify some imm_use info.
      	(verify_ssa): Ensure no stmt is marked modify after optimization pass
      	if new parameter is true.
      	(init_tree_ssa): Don't initialize operand cache here.
      	(delete_tree_ssa): Don't destroy operand cache here.
      	(propagate_into_addr): Pass in a use pointer, return true if anything
      	was changed.
      	(replace_immediate_uses): Use imm_use iterator, call update_stmt.
      	(check_phi_redundancy): Use imm_use iterator.
      	(kill_redundant_phi_nodes): Don't call compute_immediate_uses or
      	free_df.
      	* tree-ssanames.c (make_ssa_name): Initialize imm_use node.
      	(release_ssa_name): Delink node and all elements in its imm_use list.
      	* tree-tailcall.c (adjust_return_value): Call update_stmt.
      	* tree-vect-analyze.c (vect_stmt_relevant_p): Use imm_use iterator.
      	* tree-vectorizer.c (need_imm_uses_for): Delete.
      	(vectorize_loops): Dont call compute_immediate_uses or free_df.
      	* tree.h (struct ssa_imm_use_d): Define.
      	(SSA_NAME_IMM_USE_NODE): Define.
      	(struct tree_ssa_name): Add imm_use node.
      	(PHI_DF): Delete.
      	(PHI_ARG_IMM_USE_NODE): Define.
      	(struct phi_arg_d): Add imm_use node.
      	(struct tree_phi_node): Remove struct dataflow_d element.
      	(TDF_STMTADDR): Define.
      
      From-SVN: r97648
      f430bae8
    • Mark Mitchell's avatar
      Fix typo · 7701dad7
      Mark Mitchell authored
      From-SVN: r97646
      7701dad7
    • Dale Johannesen's avatar
      invoke.texi (Optimization Options): Remove duplicate -fcse-follow-jumps. · 3450cbc4
      Dale Johannesen authored
      2005-04-05  Dale Johannesen  <dalej@apple.com>
      
              * doc/invoke.texi (Optimization Options):  Remove
              duplicate -fcse-follow-jumps.  Add -fweb.
              (-ftree-lim):  Fix spelling (-ftree-loop-im, invariants).
              (-fivcanon):  Fix spelling (-ftree-loop-ivcanon).
      
      From-SVN: r97645
      3450cbc4
    • Per Bothner's avatar
      tree-ssa.c (execute_early_warn_uninitialized): Pass context node to talk_tree... · bb0a4525
      Per Bothner authored
      tree-ssa.c (execute_early_warn_uninitialized): Pass context node to talk_tree as 'data' parameter, rather than EXPR_LOCUS.
      
      
      	* tree-ssa.c (execute_early_warn_uninitialized): Pass context node
      	to talk_tree as 'data' parameter, rather than EXPR_LOCUS.
      	(warn_uninit): Get EXPR_LOCUS from context now instead.
      	This fixes a USE_MAPPED_LOCATION testsuite failure.
      
      	* tree-ssa.c (warn_uninitialized_var): Remove useless local.
      
      From-SVN: r97644
      bb0a4525
    • Mark Mitchell's avatar
      Fix typo · 3d3c0aea
      Mark Mitchell authored
      From-SVN: r97643
      3d3c0aea
    • Per Bothner's avatar
      c-decl.c (finish_function): If USE_MAPPED_LOCATION set the location of the... · b747e45d
      Per Bothner authored
      c-decl.c (finish_function): If USE_MAPPED_LOCATION set the location of the artification 'return 0' in...
      
      
      	* c-decl.c (finish_function): If USE_MAPPED_LOCATION set the location
      	of the artification 'return 0' in main() to BUILTINS_LOCATION.
      	* tree-cfg.c (remove_bb): Check that location isn't BUILTINS_LOCATION
      	before warning.
      
      From-SVN: r97641
      b747e45d
    • Mark Mitchell's avatar
      re PR target/20673 (C PCH testsuite assembly comparison failure) · f4f18103
      Mark Mitchell authored
      	PR c++/20673
      	* decl.c (grokdeclarator): Correct attribute handling.
      
      	PR c++/20673
      	* g++.dg/ext/attrib21.C: New test.
      
      From-SVN: r97640
      f4f18103
    • Devang Patel's avatar
      altivec.md (altivec_vsr<VI_char>): Rename to .. · 3e0de9d1
      Devang Patel authored
               * config/rs600/altivec.md (altivec_vsr<VI_char>): Rename to ..
               (lhsr<mode>3): ... new name.
               (altivec_vsra<VI_char>): Rename to ..
               (ashr<mode>3): ... new name.
               * config/rs6000/rs6000.c (builtin_description): Rename shift
               operations.
      
               testsuite:
               * lib/target-supports.exp (check_effective_target_vect_shif): New.
               * gcc.dg/vect/vect-shift-1.c: New test.
      
      From-SVN: r97636
      3e0de9d1
    • Mark Mitchell's avatar
      re PR c++/19159 (Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info) · e72f3fa1
      Mark Mitchell authored
      	PR c++/19159
      	* decl2.c (import_export_decl): Use non-COMDAT external linkage
      	for virtual tables, typeinfo, etc. that will be emitted in only
      	one translation unit on systems without weak symbols.
      
      From-SVN: r97635
      e72f3fa1
    • Paolo Bonzini's avatar
      combine.c (RTL_HOOKS_GEN_LOWPART_NO_EMIT): Use gen_lowpart_for_combine. · bf667275
      Paolo Bonzini authored
      2004-04-05  Paolo Bonzini  <bonzini@gnu.org>
      
      	* combine.c (RTL_HOOKS_GEN_LOWPART_NO_EMIT): Use
      	gen_lowpart_for_combine.
      	* cse.c (gen_lowpart_if_possible): Move...
      	* rtlhooks.c (gen_lowpart_if_possible): ... here.  Also try
      	gen_lowpart_SUBREG.
      	(gen_lowpart_no_emit_general): Use it.
      
      From-SVN: r97633
      bf667275
    • Eric Botcazou's avatar
      sparc.c (TARGET_ASM_FILE_END): Undefine before overriding. · c81739f7
      Eric Botcazou authored
      	* config/sparc/sparc.c (TARGET_ASM_FILE_END): Undefine before
      	overriding.
      
      From-SVN: r97631
      c81739f7
    • Francois-Xavier Coudert's avatar
      re PR libfortran/20755 (gfortran - prints the same number with 1p4G12.3 two different ways) · 51e9d74c
      Francois-Xavier Coudert authored
      	PR libfortran/20755
      	* write.c (write_float): A G edit descriptor may locally change
      	the scale factor, but it needs to be restored afterwards.
      
      	* gfortran.dg/pr20755.f: New test.
      
      From-SVN: r97627
      51e9d74c
    • Paolo Bonzini's avatar
      system.h: Fix typo. · 9e9126f3
      Paolo Bonzini authored
      2005-04-05  Paolo Bonzini  <bonzini@gnu.org>
      
      	* system.h: Fix typo.
      
      From-SVN: r97624
      9e9126f3
    • Bernd Schmidt's avatar
      bfin-modes.def: New file. · 0d4a78eb
      Bernd Schmidt authored
      	* config/bfin/bfin-modes.def: New file.
      	* config/bfin/bfin-protos.h: New file.
      	* config/bfin/bfin.c: New file.
      	* config/bfin/bfin.h: New file.
      	* config/bfin/bfin.md: New file.
      	* config/bfin/bfin.opt: New file.
      	* config/bfin/crti.s: New file.
      	* config/bfin/crtn.s: New file.
      	* config/bfin/elf.h: New file.
      	* config/bfin/lib1funcs.asm: New file.
      	* config/bfin/predicates.md: New file.
      	* config/bfin/t-bfin: New file.
      	* config/bfin/t-bfin-elf: New file.
      	* doc/extend.texi (exception_handler, kspisusp, nesting, nmi_handler):
      	Document new attributes.
      	(interrupt, interrupt_handler, saveall): Update documentation for
      	these attributes.
      	* doc/install.texi (Specific): Add entry for the Blackfin.
      	* doc/invoke.texi (Blackfin Options): New section.
      	* doc/md.texi (Blackfin family): New section to document constraints.
      	* config.gcc: Add bfin*-* and bfin*-elf configurations.
      
      From-SVN: r97622
      0d4a78eb
Loading