1. 07 Feb, 2005 5 commits
  2. 06 Feb, 2005 10 commits
  3. 03 Feb, 2005 19 commits
    • InetAddress.java (InetAddress): Make a private copy of the address. · 4dc2f71b
      	2005-02-02  David Daney  <ddaney@avtrex.com>
      
      	* java/net/InetAddress.java (InetAddress): Make a private copy of
      	the address.
      	* java/net/Inet4Address.java (getAddress): Return a copy of the
      	address.
      	* java/net/Inet6Address.java (Inet6Address): Use private copy of
      	the address
      	(getAddress): Return a copy of the address.
      	(equals): Rewrote.
      
      From-SVN: r94664
      David Daney committed
    • tree-vectorizer.h (LOC): New type. · 773af5d0
      	* tree-vectorizer.h (LOC): New type.
      	(UNKNOWN_LOC, EXPR_LOC, LOC_FILE, LOC_LINE): New macros.
      	(loop_line_number): New field in struct _loop_vec_info.
      	(LOOP_VINFO_LOC, LOOP_LOC): New macros.
      
      	* tree-vectorizer.c (input.h): Included.
      	(find_loop_location): New function.
      	(vect_debug_stats): Argument changed from loop to LOC. Computation of
      	loop line number removed.
      	(vect_debug_details): Likewise.
      	(new_loop_vec_info): Initialize new field LOOP_VINFO_LOC.
      
      	(slpeel_make_loop_iterate_ntimes): Call find_loop_location. Argument in
      	call to vect_debug_details/stats changed from loop to loop_loc.
      	(slpeel_tree_duplicate_loop_to_edge_cfg): Likewise.
      	(slpeel_tree_peel_loop_to_edge): Likewise.
      
      	(vect_analyze_offset_expr): Argument in call to vect_debug_details/stats
      	changed from NULL to UNKNOWN_LOC.
      	(vect_get_base_and_offset):
      	(vect_create_addr_base_for_vector_ref):
      	(get_vectype_for_scalar_type):
      	(vect_create_data_ref_ptr):
      	(vect_init_vector):
      	(vect_get_vec_def_for_operand):
      	(vect_finish_stmt_generation):
      	(vectorizable_assignment):
      	(vectorizable_operation):
      	(vectorizable_store):
      	(vectorizable_load):
      	(vect_transform_stmt):
      	(vect_update_ivs_after_vectorizer):
      	(vect_do_peeling_for_loop_bound):
      	(vect_do_peeling_for_alignment):
      	(vect_transform_loop):
      	(vect_is_simple_use):
      	(vect_analyze_operations):
      	(vect_is_simple_iv_evolution):
      	(vect_analyze_scalar_cycles):
      	(vect_analyze_data_ref_dependences):
      	(vect_compute_data_ref_alignment):
      	(vect_enhance_data_refs_alignment):
      	(vect_analyze_data_ref_access):
      	(vect_analyze_data_ref_accesses):
      	(vect_analyze_pointer_ref_access):
      	(vect_get_memtag_and_dr):
      	(vect_analyze_data_refs):
      	(vect_mark_relevant):
      	(vect_stmt_relevant_p):
      	(vect_mark_stmts_to_be_vectorized):
      	(vect_can_advance_ivs_p):
      	(vect_get_loop_niters):
      	(vect_analyze_loop):
      	(vectorize_loops): Likewise.
      
      	(vectorizable_load): Argument in call to vect_debug_details/stats
      	changed from loop to LOOP_LOC (loop_vinfo).
      	(vect_transform_loop):
      	(vect_analyze_operations):
      	(vect_analyze_scalar_cycles):
      	(vect_analyze_data_ref_dependence):
      	(vect_enhance_data_refs_alignment):
      	(vect_analyze_data_ref_accesses):
      	(vect_analyze_pointer_ref_access):
      	(vect_analyze_data_refs):
      	(vect_analyze_loop): Likewise.
      
      	(vect_analyze_loop_form): Argument in call to vect_debug_details/stats
      	changed from loop to loop_loc.
      
      	(vect_enhance_data_refs_alignment): Removed unused variable loop.
      
      From-SVN: r94663
      Leehod Baruch committed
    • tree-vectorizer.h (LOC): New type. · 7353a8c1
              * tree-vectorizer.h (LOC): New type.
              (UNKNOWN_LOC, EXPR_LOC, LOC_FILE, LOC_LINE): New macros.
              (loop_line_number): New field in struct _loop_vec_info.
              (LOOP_VINFO_LOC, LOOP_LOC): New macros.
      
              * tree-vectorizer.c (input.h): Included.
              (find_loop_location): New function.
              (vect_debug_stats): Argument changed from loop to LOC. Computation of
              loop line number removed.
              (vect_debug_details): Likewise.
              (new_loop_vec_info): Initialize new field LOOP_VINFO_LOC.
      
              (slpeel_make_loop_iterate_ntimes): Call find_loop_location. Argument in
              call to vect_debug_details/stats changed from loop to loop_loc.
              (slpeel_tree_duplicate_loop_to_edge_cfg): Likewise.
              (slpeel_tree_peel_loop_to_edge): Likewise.
      
              (vect_analyze_offset_expr): Argument in call to vect_debug_details/stats
              changed from NULL to UNKNOWN_LOC.
              (vect_get_base_and_offset):
              (vect_create_addr_base_for_vector_ref):
              (get_vectype_for_scalar_type):
              (vect_create_data_ref_ptr):
              (vect_init_vector):
              (vect_get_vec_def_for_operand):
              (vect_finish_stmt_generation):
              (vectorizable_assignment):
              (vectorizable_operation):
              (vectorizable_store):
              (vectorizable_load):
              (vect_transform_stmt):
              (vect_update_ivs_after_vectorizer):
              (vect_do_peeling_for_loop_bound):
              (vect_do_peeling_for_alignment):
              (vect_transform_loop):
              (vect_is_simple_use):
              (vect_analyze_operations):
              (vect_is_simple_iv_evolution):
              (vect_analyze_scalar_cycles):
              (vect_analyze_data_ref_dependences):
              (vect_compute_data_ref_alignment):
              (vect_enhance_data_refs_alignment):
              (vect_analyze_data_ref_access):
              (vect_analyze_data_ref_accesses):
              (vect_analyze_pointer_ref_access):
              (vect_get_memtag_and_dr):
              (vect_analyze_data_refs):
              (vect_mark_relevant):
              (vect_stmt_relevant_p):
              (vect_mark_stmts_to_be_vectorized):
              (vect_can_advance_ivs_p):
              (vect_get_loop_niters):
              (vect_analyze_loop):
              (vectorize_loops): Likewise.
      
              (vectorizable_load): Argument in call to vect_debug_details/stats
              changed from loop to LOOP_LOC (loop_vinfo).
              (vect_transform_loop):
              (vect_analyze_operations):
              (vect_analyze_scalar_cycles):
              (vect_analyze_data_ref_dependence):
              (vect_enhance_data_refs_alignment):
              (vect_analyze_data_ref_accesses):
              (vect_analyze_pointer_ref_access):
              (vect_analyze_data_refs):
              (vect_analyze_loop): Likewise.
      
              (vect_analyze_loop_form): Argument in call to vect_debug_details/stats
              changed from loop to loop_loc.
      
              (vect_enhance_data_refs_alignment): Removed unused variable loop.
      
      From-SVN: r94662
      Leehod Baruch committed
    • tree-vectorizer.c (vect_analyze_data_ref_dependence): Function declaration added. · ef302293
              * tree-vectorizer.c (vect_analyze_data_ref_dependence): Function
              declaration added.
              (vect_analyze_data_ref_dependences): Likewise.
      
              (vect_is_simple_use): Argument changed from loop structure to
              loop_vect_info structure.
              (vect_can_advance_ivs_p): Likewise.
              (vect_create_index_for_vector_ref): Likewise.
              (vect_update_ivs_after_vectorizer): Likewise.
              (new_stmt_vec_info): Likewise.
      
              (new_loop_vec_info): Second argument in call to new_stmt_vec_info was
              changed from loop to loop_vinfo.
              (vect_create_data_ref_ptr): First argument in call to
              vect_create_index_for_vector_ref was changed from loop to loop_vinfo.
              (vectorizable_assignment): Second argument in call to vect_is_simple_use
              was changed from loop to loop_vinfo.
              (vectorizable_operation): Likewise.
              (vectorizable_store): Likewise.
              (vect_mark_stmts_to_be_vectorized): Likewise.
              (vect_do_peeling_for_loop_bound): First argument in call to
              vect_update_ivs_after_vectorizer was changed from loop to loop_vinfo.
              (vect_analyze_operations): Argument in call to vect_can_advance_ivs_p
              was changed from loop to loop_vinfo.
              (vect_analyze_data_ref_dependences): Third argument in call to
              vect_analyze_data_ref_dependence was changed from loop to loop_vinfo.
      
              (vect_create_index_for_vector_ref): Get the loop from loop_vinfo.
              (vect_create_data_ref_ptr): Likewise.
              (vect_init_vector): Likewise.
              (vect_get_vec_def_for_operand): Likewise.
              (vectorizable_assignment): Likewise.
              (vectorizable_operation): Likewise.
              (vectorizable_store): Likewise.
              (vectorizable_load): Likewise.
              (vect_update_ivs_after_vectorizer): Likewise.
              (vect_is_simple_use): Likewise.
              (vect_analyze_data_ref_dependence): Likewise.
              (vect_analyze_pointer_ref_access): Likewise.
              (vect_can_advance_ivs_p): Likewise.
      
              * tree-vectorizer.h: (_loop_vec_info): Definition and macros moved
              before _stmt_vec_info.
              (_stmt_vec_info): Loop field replaced by loop_vec_info.
              (STMT_VINFO_LOOP): Replaced with STMT_VINFO_LOOP_VINFO.
              (new_stmt_vec_info): Argument changed from loop structure to
              loop_vect_info structure
      
              (vect_analyze_data_ref_dependences): Unnecessary line was removed.
              (vect_analyze_offset_expr): Avoid 80 columns overflow.
              (vect_create_addr_base_for_vector_ref): Likewise.
              (vect_analyze_pointer_ref_access): Likewise.
      
      Co-Authored-By: Dorit Naishlos <dorit@il.ibm.com>
      
      From-SVN: r94661
      Leehod Baruch committed
    • re PR tree-optimization/19768 (ICE: SSA_NAME_OCCURS_IN_ABNORMAL_PHI should be set) · 9df935d8
      2005-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR tree-opt/19768
              * g++.dg/opt/pr19768.C: New test.
      
      2005-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR tree-opt/19768
              * tree-ssa-dse.c (fix_phi_uses): Update the occurs in abnormal
              phi flag if the phi is abnormal.
      
      From-SVN: r94660
      Andrew Pinski committed
    • fix PR number in the testsuite/Changelog: · da99298d
      2005-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR tree-opt/19736
              * gcc.c-torture/compile/pr19736.c: New test.
      
      From-SVN: r94659
      Andrew Pinski committed
    • re PR tree-optimization/19736 (ICE with type mismatch between SSA_NAME and its symbol) · 50d4a707
      2005-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR tree-opt/19763
              * gcc.c-torture/compile/pr19736.c: New test.
      
      2005-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR tree-opt/19736
              * tree-ssa.c (replace_immediate_uses): Update the immediate_uses
              information for the new statement.
      
      From-SVN: r94658
      Andrew Pinski committed
    • re PR driver/19117 (gcc -v should include target information) · cd21f044
      	PR driver/19117
      	* gcc.c (main): Include the target in -v output.
      
      From-SVN: r94657
      Joseph Myers committed
    • re PR c++/17401 (ICE with invalid pure specifier) · 515e6a84
      	PR c++/17401
      	* parser.c (cp_parser_pure_specifier): Emit a specific error
      	message with an invalid pure specifier.
      	* decl2.c (grok_function_init): Remove.
      	(grokfield): An initializer for a method is a always a pure
      	specifier.
      
      	PR c++/17401
      	* g++.dg/parse/error25.C: New test.
      
      From-SVN: r94656
      Giovanni Bajo committed
    • combine.c (simplify_comparison, [...]): Do not drop the extend if we'd have to… · aa2d0bc3
      combine.c (simplify_comparison, [...]): Do not drop the extend if we'd have to add a paradoxical subreg later.
      
      gcc/ChangeLog:
      * combine.c (simplify_comparison, case SIGN_EXTEND, ZERO_EXTEND):
      Do not drop the extend if we'd have to add a paradoxical subreg
      later.  Include optabs.h and insn-codes.h.
      * Makefile.in (combine.o): Depend on $(OPTABS_H).
      gcc/testsuite/ChangeLog:
      * gcc.c-torture/execute/20050203-1.c: New.
      
      From-SVN: r94655
      Alexandre Oliva committed
    • vect-85.c: Remove xfail. · f1a3e333
              * gcc.dg/vect/vect-85.c: Remove xfail.
              * gcc.dg/vect/vect-86.c: Remove xfail.
              * gcc.dg/vect/vect-87.c: Remove xfail.
              * gcc.dg/vect/vect-88.c: Remove xfail.
      
      From-SVN: r94654
      Dorit Naishlos committed
    • re PR middle-end/19405 (18_support/numeric_limits.cc fails on ppc-darwin (long doubles)) · 762297d9
      
      	PR middle-end/19405
      	* real.h (REAL_MODE_FORMAT_COMPOSITE_P): New macro.
      	* fold-const.c (const_binop): Avoid constant folding floating
      	point operations in modes that use composite representations.
      	* simplify-rtx.c (simplify_binary_operation): Likewise.
      
      From-SVN: r94653
      Roger Sayle committed
    • altivec.md (altivec_dst): Make the first operand a REG, not a MEM. · 666158b9
      2005-02-02  Geoffrey Keating  <geoffk@apple.com>
      
      	* config/rs6000/altivec.md (altivec_dst): Make the first operand
      	a REG, not a MEM.
      	(altivec_dstt): Likewise.
      	(altivec_dstst): Likewise.
      	(altivec_dststt): Likewise.
      	* config/rs6000/rs6000.c (altivec_expand_dst_builtin): Adjust creation
      	of first operand.
      
      Index: testsuite/ChangeLog
      2005-02-02  Geoffrey Keating  <geoffk@apple.com>
      
      	* gcc.dg/altivec-19.c: New.
      
      From-SVN: r94652
      Geoffrey Keating committed
    • tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Copy EXPR_LOCUS from… · cce4ca55
      tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Copy EXPR_LOCUS from orig_cond to the new cond_stmt.
      
      
              * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Copy
              EXPR_LOCUS from orig_cond to the new cond_stmt.
              (vect_finish_stmt_generation): Copy EXPR_LOCUS from stmt to
              the new vec_stmt.
      
      
              * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Call
              standard_iv_increment_position. Remove call to bsi_next
              (no need to bump the iterator anymore).
              (vect_create_index_for_vector_ref): Call
              standard_iv_increment_position. Remove second function argument.
              (vect_finish_stmt_generation): Remove call to bsi_next
              (no need to bump the iterator anymore).
              (vect_create_data_ref_ptr): Remove second argument (bsi) in call
              to vect_create_index_for_vector_ref.
      
      
              * tree-vectorizer.c (vect_mark_stmts_to_be_vectorized): Check if
              phis are used out of the loop.
      
      From-SVN: r94651
      Dorit Naishlos committed
    • re PR c/17807 (No warning/error for undefined local function.) · 73aea290
      	PR c/17807
      	* c-decl.c (undef_nested_function): New variable.
      	(pop_scope): Diagnose undefined nested functions.
      	(finish_function): Don't attempt cgraph processing or genericizing
      	if current top-level function contained an undefined nested
      	function.  Reset undef_nested_function at the end of a top-level
      	function.
      
      testsuite:
      	* gcc.dg/nested-func-3.c: New test.
      	* gcc.dg/pr18596-3.c: Expect error for undefined nested function.
      
      From-SVN: r94645
      Joseph Myers committed
    • gen_directive_tests: Generate tests for selector expressions. · 1f732f61
      	* gcc.test-framework/gen_directive_tests: Generate tests for
      	selector expressions.
      
      From-SVN: r94642
      Janis Johnson committed
    • Daily bump. · d47fc248
      From-SVN: r94639
      GCC Administrator committed
    • Makefile.in: Rebuilt. · 8847064b
      	* Makefile.in: Rebuilt.
      	* Makefile.am (classes.stamp): New target, broken out from
      	libgcj.jar target.
      	($(all_java_class_files)): Depend on it.
      	(libgcj-@gcc_version@.jar): Likewise.
      	(all-recursive): Likewise.
      	(CLEANFILES): Include classes.stamp.
      
      From-SVN: r94636
      Tom Tromey committed
    • re PR c++/19628 (g++ no longer accepts __builtin_constant_p in constant-expressions) · 100d337a
      PR c++/19628
      
      * cp-tree.h (builtin_valid_in_constant_expr_p): Declare.
      * parser.c (cp_parser_postfix_expression): Accept function call in constant expression if builtin_valid_in_constant_expr_p is true for that function.
      * pt.c (value_dependent_expression_p): Handle CALL_EXPRs properly.
      * semantics.c (finish_id_expression): Accept function call in constant expression if builtin_valid_in_constant_expr_p is true for that function.
      * tree.c (builtin_valid_in_constant_expr_p): New.
      
      * g++/ext/builtin7.C: New.
      * g++/ext/builtin8.C: New.
      
      From-SVN: r94635
      Matt Austern committed
  4. 02 Feb, 2005 6 commits