[Bug tree-optimization/50912] [4.7 regression] gimple assertion failure at gimple.h:1940 with -msse2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50912 --- Comment #2 from irar at gcc dot gnu.org 2011-11-03 08:44:41 UTC --- Author: irar Date: Thu Nov 3 08:44:35 2011 New Revision: 180819 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180819 Log: PR tree-optimization/50912 * tree-vectorizer.h (slp_void_p): New. (struct _slp_tree): Replace left and right with children. Update documentation. (struct _slp_oprnd_info): New. (vect_get_vec_defs): Declare. (vect_get_slp_defs): Update arguments. * tree-vect-loop.c (vect_create_epilog_for_reduction): Call vect_get_vec_defs instead of vect_get_slp_defs. (vectorizable_reduction): Likewise. * tree-vect-stmts.c (vect_get_vec_defs): Remove static, add argument. Update call to vect_get_slp_defs. (vectorizable_conversion): Update call to vect_get_vec_defs. (vectorizable_assignment, vectorizable_shift, vectorizable_operation): Likewise. (vectorizable_type_demotion): Call vect_get_vec_defs instead of vect_get_slp_defs. (vectorizable_type_promotion, vectorizable_store): Likewise. (vect_analyze_stmt): Fix typo. * tree-vect-slp.c (vect_free_slp_tree): Update SLP tree traversal. (vect_print_slp_tree, vect_mark_slp_stmts, vect_mark_slp_stmts_relevant, vect_slp_rearrange_stmts, vect_detect_hybrid_slp_stmts, vect_slp_analyze_node_operations, vect_schedule_slp_instance): Likewise. (vect_create_new_slp_node): New. (vect_create_oprnd_info, vect_free_oprnd_info): Likewise. (vect_get_and_check_slp_defs): Pass information about defs using oprnds_info, allow any number of operands. (vect_build_slp_tree): Likewise. Update calls to vect_get_and_check_slp_defs. Fix comments. (vect_analyze_slp_instance): Move node creation to vect_create_new_slp_node. (vect_get_slp_defs): Allow any number of operands. Added: trunk/gcc/testsuite/gnat.dg/loop_optimization10.adb trunk/gcc/testsuite/gnat.dg/loop_optimization10.ads trunk/gcc/testsuite/gnat.dg/loop_optimization10_pkg.ads Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-data-refs.c trunk/gcc/tree-vect-loop.c trunk/gcc/tree-vect-slp.c trunk/gcc/tree-vect-stmts.c trunk/gcc/tree-vectorizer.h
[Bug tree-optimization/50730] SLP vectorization confused by unrelated DRs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50730 --- Comment #6 from irar at gcc dot gnu.org 2011-11-04 12:55:11 UTC --- Author: irar Date: Fri Nov 4 12:55:06 2011 New Revision: 180945 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180945 Log: Unrevert: 2011-10-24 Ira Rosen PR tree-optimization/50730 * tree-vect-data-refs.c (vect_analyze_data_refs): Stop basic block analysis if encountered unsupported data-ref. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-vect-data-refs.c
[Bug tree-optimization/51015] [4.7 Regression] ice in vect_determine_vectorization_factor with -O3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51015 --- Comment #3 from irar at gcc dot gnu.org 2011-11-09 06:42:07 UTC --- Author: irar Date: Wed Nov 9 06:41:59 2011 New Revision: 181191 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181191 Log: PR tree-optimization/51015 * tree-vect-loop.c (vect_determine_vectorization_factor): Expect vectype to be set for pattern def stmts. Added: trunk/gcc/testsuite/gcc.dg/vect/pr51015.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c
[Bug tree-optimization/51058] [4.7 Regression] ICE: gimple check: expected gimple_assign(error_mark), have gimple_call() in gimple_assign_rhs_code, at gimple.h:1992
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51058 --- Comment #7 from irar at gcc dot gnu.org 2011-11-10 10:14:28 UTC --- Author: irar Date: Thu Nov 10 10:14:24 2011 New Revision: 181251 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181251 Log: PR tree-optimization/51058 * tree-vect-slp.c (vect_get_constant_vectors): Handle CALL_EXPR. Added: trunk/gcc/testsuite/gfortran.dg/vect/pr51058.f90 Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-slp.c
[Bug bootstrap/51112] [4.7 Regression] LTO bootstrap failed with bootstrap-profiled
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51112 --- Comment #1 from irar at gcc dot gnu.org 2011-11-14 06:41:13 UTC --- Author: irar Date: Mon Nov 14 06:41:09 2011 New Revision: 181347 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181347 Log: PR bootstrap/51112 * tree-vect-stmts.c (vectorizable_condition): Initialize comp_vectype. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-vect-stmts.c
[Bug tree-optimization/51301] Compiler ICE in vect_is_simple_use_1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51301 --- Comment #2 from irar at gcc dot gnu.org 2011-11-29 07:00:57 UTC --- Author: irar Date: Tue Nov 29 07:00:53 2011 New Revision: 181797 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181797 Log: PR tree-optimization/51301 * tree-vect-patterns.c (vect_recog_over_widening_pattern): Check that the last statement doesn't convert to a bigger type than the original type of the computation. Added: trunk/gcc/testsuite/gcc.dg/vect/pr51301.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-patterns.c
[Bug middle-end/51285] [4.7 Regression] internal compiler error: in check_loop_closed_ssa_use, at tree-ssa-loop-manip.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51285 --- Comment #8 from irar at gcc dot gnu.org 2011-12-04 14:52:06 UTC --- Author: irar Date: Sun Dec 4 14:52:01 2011 New Revision: 181990 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181990 Log: PR middle-end/51285 * tree-vect-loop.c (vect_create_epilog_for_reduction): Create exit phi nodes for outer loop in case of double reduction. Added: trunk/gcc/testsuite/gfortran.dg/vect/pr51285.f90 Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c
[Bug tree-optimization/51684] [4.7 Regression]: ICE in gfortran.dg/maxloc_bounds_5 on ia64
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51684 --- Comment #3 from irar at gcc dot gnu.org 2011-12-28 09:20:20 UTC --- Author: irar Date: Wed Dec 28 09:20:16 2011 New Revision: 182705 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182705 Log: PR tree-optimization/51684 * tree-vect-slp.c (vect_schedule_slp_instance): Get gsi of original statement in case of a pattern. (vect_schedule_slp): Likewise. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-vect-slp.c
[Bug tree-optimization/51704] [4.7 Regression] ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:620 with -O3 -fno-tree-copy-prop -fno-tree-fre
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51704 --- Comment #3 from irar at gcc dot gnu.org 2012-01-01 13:52:21 UTC --- Author: irar Date: Sun Jan 1 13:52:13 2012 New Revision: 182769 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182769 Log: PR tree-optimization/51704 * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Check that a use is inside the basic block or loop before accessing its vect info. Added: trunk/gcc/testsuite/gfortran.dg/vect/no-fre-no-copy-prop-O3-pr51704.f90 Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/vect/vect.exp trunk/gcc/tree-vect-slp.c
[Bug tree-optimization/51269] Vectorization profitability threshold is not actually used
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51269 --- Comment #3 from irar at gcc dot gnu.org 2012-01-03 13:24:12 UTC --- Author: irar Date: Tue Jan 3 13:24:04 2012 New Revision: 182844 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182844 Log: PR tree-optimization/51269 * tree-vect-loop-manip.c (set_prologue_iterations): Make first_niters a pointer. (slpeel_tree_peel_loop_to_edge): Likewise. (vect_do_peeling_for_loop_bound): Update call to slpeel_tree_peel_loop_to_edge. (vect_gen_niters_for_prolog_loop): Don't compute wide_prolog_niters here. Remove it from the parameters list. (vect_do_peeling_for_alignment): Update calls and compute wide_prolog_niters. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-vect-loop-manip.c
[Bug tree-optimization/51799] [4.7 Regression] Compiler ICE in vect_is_simple_use_1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51799 --- Comment #5 from irar at gcc dot gnu.org 2012-01-12 14:41:51 UTC --- Author: irar Date: Thu Jan 12 14:41:44 2012 New Revision: 183126 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183126 Log: PR tree-optimization/51799 * tree-vect-patterns.c (vect_recog_over_widening_pattern): Check that the last operation is a type demotion. Added: trunk/gcc/testsuite/gcc.dg/vect/pr51799.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/vect-widen-shift-u8.c trunk/gcc/tree-vect-patterns.c
[Bug tree-optimization/52091] [4.7 Regression] ICE: verify_gimple failed
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52091 --- Comment #8 from irar at gcc dot gnu.org 2012-02-05 05:58:22 UTC --- Author: irar Date: Sun Feb 5 05:58:18 2012 New Revision: 183902 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183902 Log: PR tree-optimization/52091 * tree-vectorizer.h (vect_is_simple_use): Add an argument. (vect_is_simple_use_1): Likewise. * tree-vect-loop.c (vectorizable_reduction): Update calls to vect_is_simple_use_1 and vect_is_simple_use. (vectorizable_live_operation): Likewise. * tree-vect-patterns.c (widened_name_p, vect_recog_vector_vector_shift_pattern, check_bool_pattern): Likewise. * tree-vect-stmts.c (process_use, vect_get_vec_def_for_operand, vectorizable_call, vectorizable_conversion, vectorizable_assignment, vectorizable_shift, vectorizable_operation, vectorizable_store, vectorizable_load): Likewise. (vect_is_simple_cond): Add an argument, pass it to vect_is_simple_use_1. (vectorizable_condition): Update calls to vect_is_simple_cond, vect_is_simple_use. (vect_is_simple_use): Add an argument, the statement in which OPERAND is used. Check that if OPERAND's def stmt is a double reduction phi node, the use is a phi node too. (vect_is_simple_use_1): Add an argument, pass it to vect_is_simple_use. * tree-vect-slp.c (vect_get_and_check_slp_defs): Update a call to vect_is_simple_use. Added: trunk/gcc/testsuite/gcc.dg/vect/pr52091.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c trunk/gcc/tree-vect-patterns.c trunk/gcc/tree-vect-slp.c trunk/gcc/tree-vect-stmts.c trunk/gcc/tree-vectorizer.h
[Bug tree-optimization/47001] segmentation fault in vect_mark_slp_stmts
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47001 --- Comment #2 from irar at gcc dot gnu.org 2010-12-21 15:42:15 UTC --- Author: irar Date: Tue Dec 21 15:42:11 2010 New Revision: 168123 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168123 Log: PR tree-optimization/47001 * tree-vect-slp.c (vect_supported_load_permutation_p): Check that the loads in reduction are different and there are no gaps between them. Added: trunk/gcc/testsuite/gcc.dg/vect/pr47001.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-slp.c
[Bug testsuite/47057] FAIL/XPASS gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47057 --- Comment #2 from irar at gcc dot gnu.org 2010-12-25 12:54:02 UTC --- Author: irar Date: Sat Dec 25 12:53:58 2010 New Revision: 168242 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168242 Log: PR testsuite/47057 * gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c: Change comment. Expect two outer loops to get vectorized. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c
[Bug tree-optimization/47139] [4.6 Regression] ice in process_use, at tree-vect-stmts.c:290
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47139 --- Comment #4 from irar at gcc dot gnu.org 2011-01-06 07:34:28 UTC --- Author: irar Date: Thu Jan 6 07:34:24 2011 New Revision: 168535 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168535 Log: PR tree-optimization/47139 * tree-vect-loop.c (vect_is_simple_reduction_1): Check that only the last reduction value is used outside the loop. Update documentation. Added: trunk/gcc/testsuite/gcc.dg/vect/pr47139.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c
[Bug target/48287] gcc.dg/vect/vect-cselim-1.c FAILs on SPARC
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48287 --- Comment #3 from irar at gcc dot gnu.org 2011-03-25 16:08:49 UTC --- Author: irar Date: Fri Mar 25 16:08:40 2011 New Revision: 171457 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171457 Log: PR target/48287 * gcc.dg/vect/vect-cselim-1.c: Fail for vect_no_align. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/vect-cselim-1.c
[Bug tree-optimization/48290] FAIL: gcc.dg/vect/pr38529.c, ICE in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1072
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48290 --- Comment #8 from irar at gcc dot gnu.org 2011-03-29 10:26:30 UTC --- Author: irar Date: Tue Mar 29 10:26:25 2011 New Revision: 171657 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171657 Log: PR tree-optimization/48290 * tree-vect-loop.c (vect_analyze_loop_operations): In outer loop vectorization, check that relevant phis in the basic block after the inner loop are really inner loop's exit phis. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-vect-loop.c
[Bug target/48252] ARM neon: problem with consecutive vzip, vuzp and vtrn
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48252 --- Comment #5 from irar at gcc dot gnu.org 2011-04-18 07:14:26 UTC --- Author: irar Date: Mon Apr 18 07:14:22 2011 New Revision: 172639 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172639 Log: PR target/48252 * config/arm/arm.c (neon_emit_pair_result_insn): Swap arguments to match neon_vzip/vuzp/vtrn_internal. * config/arm/neon.md (neon_vtrn_internal): Make both outputs explicitly dependent on both inputs. (neon_vzip_internal, neon_vuzp_internal): Likewise. Added: trunk/gcc/testsuite/gcc.target/arm/pr48252.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/arm/arm.c trunk/gcc/config/arm/neon.md trunk/gcc/testsuite/ChangeLog
[Bug tree-optimization/48765] ICE in vect_transform_stmt
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48765 --- Comment #4 from irar at gcc dot gnu.org 2011-04-28 19:50:30 UTC --- Author: irar Date: Thu Apr 28 19:50:28 2011 New Revision: 173132 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173132 Log: PR tree-optimization/48765 * tree-vectorizer.h (vect_make_slp_decision): Return bool. * tree-vect-loop.c (vect_analyze_loop_operations): Add new argument to indicate if loop aware SLP is being used. Scan the statements and update the vectorization factor according to the type of vectorization before statement analysis. (vect_analyze_loop_2): Get a return value from vect_make_slp_decision, pass it to vect_analyze_loop_operations. (vectorizable_reduction): Set number of copies to 1 in case of pure SLP statement. * tree-vect-stmts.c (vectorizable_conversion, vectorizable_assignment, vectorizable_shift, vectorizable_operation, vectorizable_type_demotion, vectorizable_type_promotion, vectorizable_store, vectorizable_load): Likewise. (vectorizable_condition): Move the check that it is not SLP vectorization before the number of copies check. * tree-vect-slp.c (vect_make_slp_decision): Return TRUE if decided to vectorize the loop using SLP. Added: trunk/gcc/testsuite/gcc.dg/vect/pr48765.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c trunk/gcc/tree-vect-slp.c trunk/gcc/tree-vect-stmts.c trunk/gcc/tree-vectorizer.h
[Bug testsuite/48498] Several gcc.dg/vect tests XPASS on SPARC
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48498 --- Comment #10 from irar at gcc dot gnu.org 2011-05-02 11:13:31 UTC --- Author: irar Date: Mon May 2 11:13:26 2011 New Revision: 173245 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173245 Log: PR testsuite/48498 * gcc.dg/vect/slp-3.c: Increase loop bound. Don't expect to fail on vect_no_align targets. * gcc.dg/vect/no-vfa-pr29145.c: Don't expect to fail on vect_no_align targets. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/no-vfa-pr29145.c trunk/gcc/testsuite/gcc.dg/vect/slp-3.c
[Bug target/48252] ARM neon: problem with consecutive vzip, vuzp and vtrn
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48252 --- Comment #6 from irar at gcc dot gnu.org 2011-05-05 07:35:03 UTC --- Author: irar Date: Thu May 5 07:34:59 2011 New Revision: 173417 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173417 Log: Backport from mainline: 2011-04-18 Ulrich Weigand Ira Rosen PR target/48252 * config/arm/arm.c (neon_emit_pair_result_insn): Swap arguments to match neon_vzip/vuzp/vtrn_internal. * config/arm/neon.md (neon_vtrn_internal): Make both outputs explicitly dependent on both inputs. (neon_vzip_internal, neon_vuzp_internal): Likewise. Added: branches/gcc-4_5-branch/gcc/testsuite/gcc.target/arm/pr48252.c Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/config/arm/arm.c branches/gcc-4_5-branch/gcc/config/arm/neon.md branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
[Bug target/48252] ARM neon: problem with consecutive vzip, vuzp and vtrn
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48252 --- Comment #7 from irar at gcc dot gnu.org 2011-05-05 08:39:47 UTC --- Author: irar Date: Thu May 5 08:39:40 2011 New Revision: 173418 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173418 Log: Backport from mainline: 2011-04-18 Ulrich Weigand Ira Rosen PR target/48252 * config/arm/arm.c (neon_emit_pair_result_insn): Swap arguments to match neon_vzip/vuzp/vtrn_internal. * config/arm/neon.md (neon_vtrn_internal): Make both outputs explicitly dependent on both inputs. (neon_vzip_internal, neon_vuzp_internal): Likewise. Added: branches/gcc-4_6-branch/gcc/testsuite/gcc.target/arm/pr48252.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/config/arm/arm.c branches/gcc-4_6-branch/gcc/config/arm/neon.md branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
[Bug tree-optimization/41881] [4.5/4.6/4.7 regression] Complete unrolling (inner) versus vectorization of reduction
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41881 --- Comment #10 from irar at gcc dot gnu.org 2011-05-18 11:27:56 UTC --- Author: irar Date: Wed May 18 11:27:51 2011 New Revision: 173856 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173856 Log: PR tree-optimization/41881 * tree-vectorizer.h (struct _loop_vec_info): Add new field reduction_chains along with a macro for its access. * tree-vect-loop.c (new_loop_vec_info): Initialize reduction chains. (destroy_loop_vec_info): Free reduction chains. (vect_analyze_loop_2): Return false if vect_analyze_slp() returns false. (vect_is_slp_reduction): New function. (vect_is_simple_reduction_1): Call vect_is_slp_reduction. (vect_create_epilog_for_reduction): Support SLP reduction chains. * tree-vect-slp.c (vect_get_and_check_slp_defs): Allow different definition types for reduction chains. (vect_supported_load_permutation_p): Don't allow permutations for reduction chains. (vect_analyze_slp_instance): Support reduction chains. (vect_analyze_slp): Try to build SLP instance from reduction chains. (vect_get_constant_vectors): Handle reduction chains. (vect_schedule_slp_instance): Mark the first statement of the reduction chain as reduction. Added: trunk/gcc/testsuite/gcc.dg/vect/O3-pr41881.c trunk/gcc/testsuite/gcc.dg/vect/O3-slp-reduc-10.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c trunk/gcc/tree-vect-slp.c trunk/gcc/tree-vectorizer.h
[Bug tree-optimization/49087] crash in vect_is_slp_reduction
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49087 --- Comment #2 from irar at gcc dot gnu.org 2011-05-22 08:04:46 UTC --- Author: irar Date: Sun May 22 08:04:43 2011 New Revision: 174026 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174026 Log: PR tree-optimization/49087 * tree-vect-loop.c (vect_is_slp_reduction): Fail if LHS has no uses. Added: trunk/gcc/testsuite/gcc.dg/vect/O3-pr49087.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c
[Bug tree-optimization/49038] [4.5/4.6/4.7 Regression] -ftree-vectorise introduces reads past end of array
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49038 --- Comment #4 from irar at gcc dot gnu.org 2011-05-26 07:50:14 UTC --- Author: irar Date: Thu May 26 07:50:09 2011 New Revision: 174265 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174265 Log: PR tree-optimization/49038 * tree-vect-loop-manip.c (vect_generate_tmps_on_preheader): Ensure at least one epilogue iteration if required by data accesses with gaps. * tree-vectorizer.h (struct _loop_vec_info): Add new field to mark loops that require peeling for gaps. * tree-vect-loop.c (new_loop_vec_info): Initialize new field. (vect_get_known_peeling_cost): Take peeling for gaps into account. (vect_transform_loop): Generate epilogue if required by data access with gaps. * tree-vect-data-refs.c (vect_analyze_group_access): Mark the loop as requiring an epilogue if there are gaps in the end of the strided group. Added: trunk/gcc/testsuite/gcc.dg/vect/pr49038.c trunk/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-data-refs.c trunk/gcc/tree-vect-loop-manip.c trunk/gcc/tree-vect-loop.c trunk/gcc/tree-vectorizer.h
[Bug testsuite/49222] FAIL: gcc.dg/vect/pr49038.c (test for excess errors) on *-apple-darwin*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49222 --- Comment #5 from irar at gcc dot gnu.org 2011-05-29 16:47:09 UTC --- Author: irar Date: Sun May 29 16:47:05 2011 New Revision: 174398 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174398 Log: PR testsuite/49222 * gcc.dg/vect/pr49038.c: Use MAP_ANON if MAP_ANONYMOUS is not defined. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/pr49038.c
[Bug tree-optimization/49199] [4.7 Regression] ICE: in vect_create_epilog_for_reduction at tree-vect-loop.c:3445 with -O -fno-tree-scev-cprop -ftree-vectorize -funswitch-loops
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49199 --- Comment #3 from irar at gcc dot gnu.org 2011-05-30 07:15:35 UTC --- Author: irar Date: Mon May 30 07:15:31 2011 New Revision: 174425 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174425 Log: PR tree-optimization/49199 * tree-vect-loop.c (vect_is_slp_reduction): Check that the non-reduction operands are either defined in the loop or by induction. Added: trunk/gcc/testsuite/gcc.dg/vect/no-scevccp-pr49199.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/vect.exp trunk/gcc/tree-vect-loop.c
[Bug testsuite/49239] Random gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c failure
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49239 --- Comment #3 from irar at gcc dot gnu.org 2011-05-31 08:15:32 UTC --- Author: irar Date: Tue May 31 08:15:25 2011 New Revision: 174469 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174469 Log: PR testsuite/49239 * gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c: Initialize the output array. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c
[Bug tree-optimization/49093] [4.6/4.7 Regression] ICE in vect_enhance_data_refs_alignment() with volatile inside peeled loop
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49093 --- Comment #10 from irar at gcc dot gnu.org 2011-05-31 12:31:09 UTC --- Author: irar Date: Tue May 31 12:31:04 2011 New Revision: 174477 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174477 Log: PR tree-optimization/49093 * tree-vect-data-refs.c (vect_analyze_data_refs): Fail for volatile data references. Added: trunk/gcc/testsuite/gcc.dg/vect/pr49093.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-data-refs.c
[Bug tree-optimization/49093] [4.6/4.7 Regression] ICE in vect_enhance_data_refs_alignment() with volatile inside peeled loop
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49093 --- Comment #11 from irar at gcc dot gnu.org 2011-06-02 07:03:04 UTC --- Author: irar Date: Thu Jun 2 07:02:57 2011 New Revision: 174559 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174559 Log: PR tree-optimization/49093 * tree-vect-data-refs.c (vect_analyze_data_refs): Fail for volatile data references. Added: branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/vect/pr49093.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/testsuite/ChangeLog branches/gcc-4_6-branch/gcc/tree-vect-data-refs.c
[Bug tree-optimization/49038] [4.5/4.6/4.7 Regression] -ftree-vectorise introduces reads past end of array
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49038 --- Comment #5 from irar at gcc dot gnu.org 2011-06-04 09:12:58 UTC --- Author: irar Date: Sat Jun 4 09:12:55 2011 New Revision: 174634 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174634 Log: PR tree-optimization/49038 * tree-vect-loop-manip.c (vect_generate_tmps_on_preheader): Ensure at least one epilogue iteration if required by data accesses with gaps. * tree-vectorizer.h (struct _loop_vec_info): Add new field to mark loops that require peeling for gaps. * tree-vect-loop.c (new_loop_vec_info): Initialize new field. (vect_estimate_min_profitable_iters): Take peeling for gaps into account. (vect_transform_loop): Generate epilogue if required by data access with gaps. * tree-vect-data-refs.c (vect_analyze_group_access): Mark the loop as requiring an epilogue if there are gaps in the end of the strided group. Added: branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/vect/pr49038.c branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/testsuite/ChangeLog branches/gcc-4_5-branch/gcc/tree-vect-data-refs.c branches/gcc-4_5-branch/gcc/tree-vect-loop-manip.c branches/gcc-4_5-branch/gcc/tree-vect-loop.c branches/gcc-4_5-branch/gcc/tree-vectorizer.h
[Bug tree-optimization/49038] [4.5/4.6/4.7 Regression] -ftree-vectorise introduces reads past end of array
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49038 --- Comment #6 from irar at gcc dot gnu.org 2011-06-04 09:20:04 UTC --- Author: irar Date: Sat Jun 4 09:20:00 2011 New Revision: 174635 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174635 Log: PR tree-optimization/49038 * tree-vect-loop-manip.c (vect_generate_tmps_on_preheader): Ensure at least one epilogue iteration if required by data accesses with gaps. * tree-vectorizer.h (struct _loop_vec_info): Add new field to mark loops that require peeling for gaps. * tree-vect-loop.c (new_loop_vec_info): Initialize new field. (vect_get_known_peeling_cost): Take peeling for gaps into account. (vect_transform_loop): Generate epilogue if required by data access with gaps. * tree-vect-data-refs.c (vect_analyze_group_access): Mark the loop as requiring an epilogue if there are gaps in the end of the strided group. Added: branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/vect/pr49038.c branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/testsuite/ChangeLog branches/gcc-4_6-branch/gcc/tree-vect-data-refs.c branches/gcc-4_6-branch/gcc/tree-vect-loop-manip.c branches/gcc-4_6-branch/gcc/tree-vect-loop.c branches/gcc-4_6-branch/gcc/tree-vectorizer.h
[Bug tree-optimization/49318] [4.7 Regression] 177.mesa in SPEC CPU 2000 failed to build
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49318 --- Comment #4 from irar at gcc dot gnu.org 2011-06-10 07:19:31 UTC --- Author: irar Date: Fri Jun 10 07:19:28 2011 New Revision: 174891 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174891 Log: PR tree-optimization/49318 * tree-vect-loop.c (vect_determine_vectorization_factor): Remove irrelevant pattern statements. Added: trunk/gcc/testsuite/gcc.dg/vect/pr49318.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c
[Bug tree-optimization/49352] [4.7 Regression] -fcompare-debug failure with -O2 -ftree-vectorize
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49352 --- Comment #11 from irar at gcc dot gnu.org 2011-06-13 06:10:25 UTC --- Author: irar Date: Mon Jun 13 06:10:20 2011 New Revision: 174982 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174982 Log: PR tree-optimization/49352 * tree-vect-loop.c (vect_is_slp_reduction): Don't count debug uses at all, make sure loop_use_stmt after the loop is a def stmt of a used SSA_NAME that is the only one defined inside of the loop. Don't check for COND_EXPR and GIMPLE_BINARY_RHS. (vect_is_simple_reduction_1): Call vect_is_slp_reduction only if check_reduction is true. Added: trunk/gcc/testsuite/gcc.dg/vect/pr49352.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c
[Bug testsuite/49443] gcc.dg/vect/vect-peel-3.c and vect-peel-4.c fail on IA64 after testsuite change
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49443 --- Comment #4 from irar at gcc dot gnu.org 2011-06-21 09:01:29 UTC --- Author: irar Date: Tue Jun 21 09:01:23 2011 New Revision: 175246 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175246 Log: PR testsuite/49443 * gcc.dg/vect/vect-peel-3.c: Expect to fail on vect_no_align targets. * gcc.dg/vect/vect-peel-4.c: Likewise. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/vect-peel-3.c trunk/gcc/testsuite/gcc.dg/vect/vect-peel-4.c
[Bug tree-optimization/49478] ice in expand_widen_pattern_expr with -O3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49478 --- Comment #5 from irar at gcc dot gnu.org 2011-06-21 11:58:36 UTC --- Author: irar Date: Tue Jun 21 11:58:33 2011 New Revision: 175255 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175255 Log: PR tree-optimization/49478 * tree-vect-loop.c (vectorizable_reduction): Handle DOT_PROD_EXPR with constant operand. Added: trunk/gcc/testsuite/gcc.dg/vect/pr49478.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c
[Bug tree-optimization/49610] Segfault with -ftree-vectorize (or -O3)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49610 --- Comment #3 from irar at gcc dot gnu.org 2011-07-03 10:14:59 UTC --- Author: irar Date: Sun Jul 3 10:14:55 2011 New Revision: 175786 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175786 Log: PR tree-optimization/49610 * tree-vect-loop.c (vect_is_slp_reduction): Check that DEF_STMT has a basic block. Added: trunk/gcc/testsuite/gcc.dg/vect/pr49610.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c
[Bug tree-optimization/49771] [4.7 Regression] wrong code with -ftree-vectorize
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49771 --- Comment #6 from irar at gcc dot gnu.org 2011-07-19 06:25:11 UTC --- Author: irar Date: Tue Jul 19 06:25:07 2011 New Revision: 176434 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176434 Log: PR tree-optimization/49771 * tree-vect-loop-manip.c (vect_vfa_segment_size): In case of zero step, set segment length to the size of the data-ref's type. Added: trunk/gcc/testsuite/gcc.dg/vect/pr49771.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop-manip.c
[Bug tree-optimization/49926] [4.7 Regression] ice in process_use, at tree-vect-stmts.c:405
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49926 --- Comment #4 from irar at gcc dot gnu.org 2011-08-01 16:58:24 UTC --- Author: irar Date: Mon Aug 1 16:58:20 2011 New Revision: 177063 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177063 Log: PR tree-optimization/49926 * tree-vect-loop.c (vect_is_slp_reduction): Check that a statement in a chain doesn't have uses both inside and outside the loop. Added: trunk/gcc/testsuite/gcc.dg/vect/pr49926.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c
[Bug tree-optimization/50014] [4.7 Regression] Assertion failed in vect_get_vec_def_for_stmt_copy
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50014 --- Comment #3 from irar at gcc dot gnu.org 2011-08-09 06:02:04 UTC --- Author: irar Date: Tue Aug 9 06:02:00 2011 New Revision: 177581 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177581 Log: PR tree-optimization/50014 * tree-vect-loop.c (vectorizable_reduction): Get def type before calling vect_get_vec_def_for_stmt_copy (). Added: trunk/gcc/testsuite/gcc.dg/vect/pr50014.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c
[Bug tree-optimization/50039] Segfault in vect_operation_fits_smaller_type()
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50039 --- Comment #1 from irar at gcc dot gnu.org 2011-08-11 05:43:21 UTC --- Author: irar Date: Thu Aug 11 05:43:14 2011 New Revision: 177647 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177647 Log: PR tree-optimization/50039 * tree-vect-patterns.c (vect_operation_fits_smaller_type): Check that DEF_STMT has a stmt_vec_info. Added: trunk/gcc/testsuite/gcc.dg/vect/no-tree-fre-pr50039.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/vect.exp trunk/gcc/tree-vect-patterns.c
[Bug tree-optimization/50178] [4.6 regression] ICE with gfortran -O3, not with gfortran -02
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50178 --- Comment #6 from irar at gcc dot gnu.org 2011-09-01 08:29:41 UTC --- Author: irar Date: Thu Sep 1 08:29:33 2011 New Revision: 178396 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178396 Log: PR tree-optimization/50178 * tree-vect-stmts.c (vectorizable_call): Update the related pattern statement before deleting the original call. (vect_transform_stmt): Don't expect the related pattern statement to match the original statement after transformation. Added: branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/vect/pr50178.f90 Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/testsuite/ChangeLog branches/gcc-4_6-branch/gcc/tree-vect-stmts.c
[Bug tree-optimization/50178] [4.6 regression] ICE with gfortran -O3, not with gfortran -02
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50178 --- Comment #7 from irar at gcc dot gnu.org 2011-09-01 08:47:05 UTC --- Author: irar Date: Thu Sep 1 08:46:59 2011 New Revision: 178397 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178397 Log: PR tree-optimization/50178 * gfortran.dg/vect/pr50178.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/vect/pr50178.f90 Modified: trunk/gcc/testsuite/ChangeLog
[Bug tree-optimization/50208] [4.7 Regression] ICE: in vinfo_for_stmt at tree-vectorizer.h:598 with -ftree-vectorize -fno-tree-fre -fno-tree-pre
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50208 --- Comment #5 from irar at gcc dot gnu.org 2011-09-04 09:22:42 UTC --- Author: irar Date: Sun Sep 4 09:22:38 2011 New Revision: 178508 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178508 Log: PR tree-optimization/50208 * tree-vect-patterns.c (vect_handle_widen_mult_by_const): Add an argument. Check that def_stmt is inside the loop. (vect_recog_widen_mult_pattern): Update calls to vect_handle_widen_mult_by_cons. (vect_operation_fits_smaller_type): Check that def_stmt is inside the loop. Added: trunk/gcc/testsuite/gcc.dg/vect/no-fre-pre-pr50208.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/vect.exp trunk/gcc/tree-vect-patterns.c
[Bug tree-optimization/50412] gfortran -Ofast ICE in vect_do_peeling_for_loop_bound
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50412 --- Comment #3 from irar at gcc dot gnu.org 2011-09-18 08:59:58 UTC --- Author: irar Date: Sun Sep 18 08:59:52 2011 New Revision: 178940 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178940 Log: PR tree-optimization/50412 * tree-vect-data-refs.c (vect_analyze_group_access): Fail for acceses that require epilogue loop if vectorizing outer loop. Added: trunk/gcc/testsuite/gfortran.dg/vect/pr50412.f90 Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-data-refs.c
[Bug tree-optimization/50414] [4.7 Regression] gfortran -Ofast SIGSEGV in store_constructor
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50414 --- Comment #5 from irar at gcc dot gnu.org 2011-09-18 11:36:22 UTC --- Author: irar Date: Sun Sep 18 11:36:15 2011 New Revision: 178941 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178941 Log: PR tree-optimization/50414 * tree-vect-slp.c (vect_get_constant_vectors): Handle MAX_EXPR and MIN_EXPR. Added: trunk/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-slp-reduc-7.c trunk/gcc/testsuite/gfortran.dg/vect/Ofast-pr50414.f90 Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/vect/vect.exp trunk/gcc/tree-vect-slp.c
[Bug testsuite/50435] FAIL: gcc.dg/vect/bb-slp-25.c (-flto)? scan-tree-dump-times slp "basic block vectorized using SLP" 1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50435 --- Comment #11 from irar at gcc dot gnu.org 2011-09-18 11:41:48 UTC --- Author: irar Date: Sun Sep 18 11:41:43 2011 New Revision: 178942 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178942 Log: PR testsuite/50435 * gcc.dg/vect/bb-slp-25.c: Add an if to avoid loop vectorization. Fix underscores around restrict. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/bb-slp-25.c
[Bug tree-optimization/50413] [4.6/4.7 Regression] Incorrect instruction is used to shift value of 128 bit xmm0 registrer
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50413 --- Comment #8 from irar at gcc dot gnu.org 2011-09-19 11:46:05 UTC --- Author: irar Date: Mon Sep 19 11:46:00 2011 New Revision: 178968 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178968 Log: PR tree-optimization/50413 * tree-vect-data-refs.c (vect_analyze_data_refs): Fail to vectorize a basic block if one of its data-refs can't be analyzed. Added: trunk/gcc/testsuite/g++.dg/vect/slp-pr50413.cc Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/vect/vect.exp trunk/gcc/tree-vect-data-refs.c
[Bug middle-end/50451] [4.7 regression] internal compiler error at tree-vect-loop.c:3557
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50451 --- Comment #5 from irar at gcc dot gnu.org 2011-09-22 07:21:14 UTC --- Author: irar Date: Thu Sep 22 07:21:07 2011 New Revision: 179079 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179079 Log: PR tree-optimization/50451 * tree-vect-slp.c (vect_get_constant_vectors): Don't fail for constant operands in reduction. (vect_get_slp_defs): Don't create vector operand for NULL scalar operand. Added: trunk/gcc/testsuite/gcc.dg/vect/pr50451.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-slp.c
[Bug tree-optimization/50412] [4.6/4.7 Regression] gfortran -Ofast ICE in vect_do_peeling_for_loop_bound
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50412 --- Comment #4 from irar at gcc dot gnu.org 2011-09-25 09:04:24 UTC --- Author: irar Date: Sun Sep 25 09:04:19 2011 New Revision: 179160 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179160 Log: PR tree-optimization/50412 * tree-vect-data-refs.c (vect_analyze_group_access): Fail for accesses that require epilogue loop if vectorizing outer loop. Added: branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/vect/pr50412.f90 Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/testsuite/ChangeLog branches/gcc-4_6-branch/gcc/tree-vect-data-refs.c
[Bug tree-optimization/50413] [4.6/4.7 Regression] Incorrect instruction is used to shift value of 128 bit xmm0 registrer
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50413 --- Comment #15 from irar at gcc dot gnu.org 2011-09-25 09:26:03 UTC --- Author: irar Date: Sun Sep 25 09:25:59 2011 New Revision: 179162 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179162 Log: PR tree-optimization/50413 * tree-vect-data-refs.c (vect_analyze_data_refs): Fail to vectorize a basic block if one of its data-refs can't be analyzed. Added: branches/gcc-4_6-branch/gcc/testsuite/g++.dg/vect/slp-pr50413.cc Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/testsuite/ChangeLog branches/gcc-4_6-branch/gcc/testsuite/g++.dg/vect/vect.exp branches/gcc-4_6-branch/gcc/tree-vect-data-refs.c
[Bug tree-optimization/50635] ICE on valid: segfault in vectorize_loops
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50635 --- Comment #4 from irar at gcc dot gnu.org 2011-10-09 15:09:04 UTC --- Author: irar Date: Sun Oct 9 15:09:00 2011 New Revision: 179724 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179724 Log: PR tree-optimization/50635 * tree-vect-patterns.c (vect_handle_widen_mult_by_const): Add DEF_STMT to the list of statements to be replaced by the pattern statements. (vect_handle_widen_mult_by_const): Don't check TYPE_OUT. Added: trunk/gcc/testsuite/gcc.dg/vect/pr50635.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-patterns.c
[Bug tree-optimization/50727] [4.7 Regression] ICE with segfault in flow_bb_inside_loop_p
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50727 --- Comment #3 from irar at gcc dot gnu.org 2011-10-16 13:47:58 UTC --- Author: irar Date: Sun Oct 16 13:47:54 2011 New Revision: 180060 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180060 Log: PR tree-optimization/50727 * tree-vect-patterns.c (vect_operation_fits_smaller_type): Add DEF_STMT to the list of statements to be replaced by the pattern statements. Added: trunk/gcc/testsuite/gcc.dg/vect/pr50727.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-patterns.c
[Bug tree-optimization/50746] [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50746 --- Comment #8 from irar at gcc dot gnu.org 2011-10-17 19:03:10 UTC --- Author: irar Date: Mon Oct 17 19:03:02 2011 New Revision: 180106 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180106 Log: PR tree-optimization/50746 * gcc.dg/vect/vect-114.c: Remove vect_hw_misalign. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/vect-114.c
[Bug tree-optimization/50819] missed SLP vectorization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50819 --- Comment #4 from irar at gcc dot gnu.org 2011-10-23 12:13:57 UTC --- Author: irar Date: Sun Oct 23 12:13:49 2011 New Revision: 180334 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180334 Log: PR tree-optimization/50819 * tree-vectorizer.h (vect_analyze_data_ref_dependences): Remove the last argument. * tree-vect-loop.c (vect_analyze_loop_2): Update call to vect_analyze_data_ref_dependences. * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Remove the last argument. Check load-after-store dependence for unknown dependencies in basic blocks. (vect_analyze_data_ref_dependences): Update call to vect_analyze_data_ref_dependences. * tree-vect-patterns.c (vect_recog_widen_shift_pattern): Fix typo. * tree-vect-slp.c (vect_bb_vectorizable_with_dependencies): Remove. (vect_slp_analyze_bb_1): Update call to vect_analyze_data_ref_dependences. Don't call vect_bb_vectorizable_with_dependencies. Added: trunk/gcc/testsuite/g++.dg/vect/slp-pr50819.cc Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/vect/vect.exp trunk/gcc/tree-vect-data-refs.c trunk/gcc/tree-vect-loop.c trunk/gcc/tree-vect-patterns.c trunk/gcc/tree-vect-slp.c trunk/gcc/tree-vectorizer.h
[Bug tree-optimization/50730] SLP vectorization confused by unrelated DRs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50730 --- Comment #4 from irar at gcc dot gnu.org 2011-10-24 09:16:57 UTC --- Author: irar Date: Mon Oct 24 09:16:53 2011 New Revision: 180367 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180367 Log: PR tree-optimization/50730 * tree-vect-data-refs.c (vect_analyze_data_refs): Stop basic block analysis if encountered unsupported data-ref. Added: trunk/gcc/testsuite/gcc.dg/vect/no-tree-sra-bb-slp-pr50730.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/vect.exp trunk/gcc/tree-vect-data-refs.c
[Bug tree-optimization/45752] [4.5 regression] ICE in ix86_vectorize_builtin_vec_perm_ok
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45752 --- Comment #6 from irar at gcc dot gnu.org 2010-10-05 12:01:32 UTC --- Author: irar Date: Tue Oct 5 12:01:29 2010 New Revision: 164987 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164987 Log: PR tree-optimization/45752 * tree-vect-slp.c (vect_get_mask_element): Remove static variables, make them function arguments. (vect_transform_slp_perm_load): Pass new arguments to vect_get_mask_element. Added: trunk/gcc/testsuite/gcc.dg/vect/pr45752.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-slp.c
[Bug tree-optimization/45752] [4.5 regression] ICE in ix86_vectorize_builtin_vec_perm_ok
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45752 --- Comment #7 from irar at gcc dot gnu.org 2010-10-05 12:25:00 UTC --- Author: irar Date: Tue Oct 5 12:24:43 2010 New Revision: 164989 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164989 Log: PR tree-optimization/45752 * tree-vect-slp.c (vect_get_mask_element): Remove static variables, make them function arguments. (vect_transform_slp_perm_load): Pass new arguments to vect_get_mask_element. Added: branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/vect/pr45752.c Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/testsuite/ChangeLog branches/gcc-4_5-branch/gcc/tree-vect-slp.c
[Bug tree-optimization/45902] CPU2006 benchmark sphinx3 fails with vectorization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45902 --- Comment #11 from irar at gcc dot gnu.org 2010-10-11 12:18:57 UTC --- Author: irar Date: Mon Oct 11 12:18:47 2010 New Revision: 165302 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165302 Log: PR tree-optimization/45902 * tree-vect-slp.c (vect_get_constant_vectors): Use statement's vector type for constants, unless it's a pointer. Added: trunk/gcc/testsuite/gcc.dg/vect/pr45902.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-slp.c
[Bug tree-optimization/46049] [4.6 Regression] ICE: in expand_widen_pattern_expr, at optabs.c:522 with -ftree-vectorize
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46049 --- Comment #2 from irar at gcc dot gnu.org 2010-10-21 13:37:07 UTC --- Author: irar Date: Thu Oct 21 13:36:56 2010 New Revision: 165777 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165777 Log: PR tree-optimization/46049 PR tree-optimization/46052 * tree-vectorizer.h (enum stmt_vec_info_type): Add new value for shift. (vect_get_slp_defs): Add arguments. * tree-vect-loop.c (vect_create_epilog_for_reduction): Pass scalar operands to vect_get_slp_defs. (vectorizable_reduction): Fix comment, pass scalar operands to vect_get_slp_defs. * tree-vect-stmts.c (vect_get_vec_def_for_operand): Use operand's type to determine number of units in the created vector. (vect_get_vec_defs): Pass scalar operands to vect_get_slp_defs. (vectorizable_conversion): Fix comment. (vectorizable_shift): New function. (vectorizable_operation): Move code that handles shifts to vectorizable_shift. (vectorizable_type_demotion): Fix comment, pass scalar operands to vect_get_slp_defs. (vectorizable_type_promotion, vectorizable_store): Likewise. (vectorizable_condition): Fix comment. (vect_analyze_stmt): Call vectorizable_shift. (vect_transform_stmt): Likewise. * tree-vect-slp.c (vect_get_constant_vectors): Add new argument. Use it as the operand to create vectors for, except reduction initial definition and store. Use operands type. (vect_get_slp_defs): Add new arguments. Pass them to vect_get_constant_vectors. Added: trunk/gcc/testsuite/gcc.dg/vect/pr46049.c trunk/gcc/testsuite/gcc.dg/vect/pr46052.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c trunk/gcc/tree-vect-slp.c trunk/gcc/tree-vect-stmts.c trunk/gcc/tree-vectorizer.h
[Bug tree-optimization/46052] [4.6 Regression] ICE: in emit_move_insn, at expr.c:3386 with -ftree-vectorize
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46052 --- Comment #2 from irar at gcc dot gnu.org 2010-10-21 13:37:05 UTC --- Author: irar Date: Thu Oct 21 13:36:56 2010 New Revision: 165777 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165777 Log: PR tree-optimization/46049 PR tree-optimization/46052 * tree-vectorizer.h (enum stmt_vec_info_type): Add new value for shift. (vect_get_slp_defs): Add arguments. * tree-vect-loop.c (vect_create_epilog_for_reduction): Pass scalar operands to vect_get_slp_defs. (vectorizable_reduction): Fix comment, pass scalar operands to vect_get_slp_defs. * tree-vect-stmts.c (vect_get_vec_def_for_operand): Use operand's type to determine number of units in the created vector. (vect_get_vec_defs): Pass scalar operands to vect_get_slp_defs. (vectorizable_conversion): Fix comment. (vectorizable_shift): New function. (vectorizable_operation): Move code that handles shifts to vectorizable_shift. (vectorizable_type_demotion): Fix comment, pass scalar operands to vect_get_slp_defs. (vectorizable_type_promotion, vectorizable_store): Likewise. (vectorizable_condition): Fix comment. (vect_analyze_stmt): Call vectorizable_shift. (vect_transform_stmt): Likewise. * tree-vect-slp.c (vect_get_constant_vectors): Add new argument. Use it as the operand to create vectors for, except reduction initial definition and store. Use operands type. (vect_get_slp_defs): Add new arguments. Pass them to vect_get_constant_vectors. Added: trunk/gcc/testsuite/gcc.dg/vect/pr46049.c trunk/gcc/testsuite/gcc.dg/vect/pr46052.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c trunk/gcc/tree-vect-slp.c trunk/gcc/tree-vect-stmts.c trunk/gcc/tree-vectorizer.h
[Bug tree-optimization/46126] [4.6 Regression] Revision 165777 failed to build 254.gap in SPEC CPU 2K
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46126 --- Comment #3 from irar at gcc dot gnu.org 2010-10-22 12:48:26 UTC --- Author: irar Date: Fri Oct 22 12:48:15 2010 New Revision: 165825 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165825 Log: PR tree-optimization/46126 * tree-vect-stmts.c (vect_analyze_stmt): Pass NODE to vectorizable_shift in case of basic block vectorization. Added: trunk/gcc/testsuite/gcc.dg/vect/pr46126.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-stmts.c
[Bug tree-optimization/46167] [4.5/4.6 Regression] ICE: SIGSEGV in flow_bb_inside_loop_p (cfgloop.c:776) with -O -ftree-vectorize
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46167 --- Comment #2 from irar at gcc dot gnu.org 2010-10-26 15:53:33 UTC --- Author: irar Date: Tue Oct 26 15:53:28 2010 New Revision: 165970 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165970 Log: PR tree-optimization/46167 * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Check that there is basic block for the statement. Added: trunk/gcc/testsuite/gcc.dg/vect/O-pr46167.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/vect.exp trunk/gcc/tree-vect-patterns.c
[Bug tree-optimization/46167] [4.5/4.6 Regression] ICE: SIGSEGV in flow_bb_inside_loop_p (cfgloop.c:776) with -O -ftree-vectorize
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46167 --- Comment #3 from irar at gcc dot gnu.org 2010-10-26 20:16:13 UTC --- Author: irar Date: Tue Oct 26 20:15:52 2010 New Revision: 165985 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165985 Log: PR tree-optimization/46167 * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Check that there is basic block for the statement. Added: branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/vect/O-pr46167.c Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/testsuite/ChangeLog branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/vect/vect.exp branches/gcc-4_5-branch/gcc/tree-vect-patterns.c
[Bug tree-optimization/45902] CPU2006 benchmark sphinx3 fails with vectorization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45902 --- Comment #12 from irar at gcc dot gnu.org 2010-11-02 12:13:01 UTC --- Author: irar Date: Tue Nov 2 12:12:56 2010 New Revision: 166175 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166175 Log: PR tree-optimization/45902 * tree-vectorizer.h (enum stmt_vec_info_type): Add new value for shift. (vect_get_slp_defs): Add arguments. * tree-vect-stmts.c (cost_for_stmt): Handle shifts. (vect_get_vec_def_for_operand): Use operand's type to determine number of units in the created vector. (vect_get_vec_defs): Pass scalar operands to vect_get_slp_defs. (vectorizable_shift): New function. (vectorizable_operation): Move code that handles shifts to vectorizable_shift. (vectorizable_type_demotion): Pass scalar operands to vect_get_slp_defs. (vectorizable_type_promotion, vectorizable_store): Likewise. (vect_analyze_stmt): Call vectorizable_shift. (vect_transform_stmt): Likewise. * tree-vect-slp.c (vect_get_constant_vectors): Add new argument. Use it as the operand to create vectors except for stores. (vect_get_slp_defs): Add new arguments. Pass them to vect_get_constant_vectors. Added: branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/vect/pr45902.c Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/testsuite/ChangeLog branches/gcc-4_5-branch/gcc/tree-vect-slp.c branches/gcc-4_5-branch/gcc/tree-vect-stmts.c branches/gcc-4_5-branch/gcc/tree-vectorizer.h
[Bug tree-optimization/46213] [4.6 Regression] gfortran.dg/aliasing_array_result_1.f90 ICE: in vectorizable_reduction, at tree-vect-loop.c:4046 with custom compiler flags
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46213 --- Comment #5 from irar at gcc dot gnu.org 2010-11-04 11:51:13 UTC --- Author: irar Date: Thu Nov 4 11:51:09 2010 New Revision: 166306 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166306 Log: PR tree-optimization/46213 * tree-vect-loop.c (vect_is_simple_reduction_1): Handle MINUS_EXPR only if the first operand is reduction operand. Added: trunk/gcc/testsuite/gfortran.dg/vect/pr46213.f90 Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c
[Bug tree-optimization/46312] gcc.dg/vec-scal-opt2.c fails for ARM targets.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46312 --- Comment #11 from irar at gcc dot gnu.org 2010-11-17 10:00:34 UTC --- Author: irar Date: Wed Nov 17 10:00:27 2010 New Revision: 166860 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166860 Log: PR tree-optimization/46312 * gcc.dg/vect/vect-scal-opt2.c: Rename to... * gcc.dg/vect/vec-scal-opt2.c: ... this. Expect to pass only on targets that support vector shifts with scalar shift argument. Remove dg-options. * gcc.dg/vect/vect-scal-opt.c: Rename to... * gcc.dg/vect/vec-scal-opt.c: ... this, and change likewise. * gcc.dg/vect/vect-scal-opt1.c: Rename to... * gcc.dg/vect/vec-scal-opt1.c: ... this, and change likewise. * gcc.dg/vect/vect.exp: Run vec-scal-* tests with relevant flags. * gcc.dg/vect/vect-114.c: Expect to pass only on targets that support misaligned data accesses. * gcc.dg/vect/pr43432.c, gcc.dg/vect/vect-15.c: Likewise. * gcc.dg/vect/pr43430-2.c: Remove dg-options. * lib/target-supports.exp (check_effective_target_vect_shift_scalar): New. Added: trunk/gcc/testsuite/gcc.dg/vect/vec-scal-opt.c trunk/gcc/testsuite/gcc.dg/vect/vec-scal-opt1.c trunk/gcc/testsuite/gcc.dg/vect/vec-scal-opt2.c Removed: trunk/gcc/testsuite/gcc.dg/vect/vect-scal-opt.c trunk/gcc/testsuite/gcc.dg/vect/vect-scal-opt1.c trunk/gcc/testsuite/gcc.dg/vect/vect-scal-opt2.c Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/pr43430-2.c trunk/gcc/testsuite/gcc.dg/vect/pr43432.c trunk/gcc/testsuite/gcc.dg/vect/vect-114.c trunk/gcc/testsuite/gcc.dg/vect/vect-15.c trunk/gcc/testsuite/gcc.dg/vect/vect.exp trunk/gcc/testsuite/lib/target-supports.exp
[Bug tree-optimization/46663] ICE: SIGSEGV in vect_recog_pow_pattern (gimple.h:2055) with -O -fexceptions -ftree-vectorize
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46663 --- Comment #1 from irar at gcc dot gnu.org 2010-12-02 11:47:15 UTC --- Author: irar Date: Thu Dec 2 11:47:12 2010 New Revision: 167366 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167366 Log: PR tree-optimization/46663 * tree-vect-patterns.c (vect_recog_pow_pattern): Check that FUNCTION_DECL exists and that it's a builtin. Added: trunk/gcc/testsuite/gcc.dg/vect/pr46663.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-patterns.c
[Bug tree-optimization/46663] ICE: SIGSEGV in vect_recog_pow_pattern (gimple.h:2055) with -O -fexceptions -ftree-vectorize
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46663 --- Comment #2 from irar at gcc dot gnu.org 2010-12-05 08:15:39 UTC --- Author: irar Date: Sun Dec 5 08:15:33 2010 New Revision: 167469 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167469 Log: PR tree-optimization/46663 * tree-vect-patterns.c (vect_recog_pow_pattern): Check that FUNCTION_DECL exists and that it's a builtin. Added: branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/vect/pr46663.c Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/testsuite/ChangeLog branches/gcc-4_5-branch/gcc/tree-vect-patterns.c
[Bug tree-optimization/46663] ICE: SIGSEGV in vect_recog_pow_pattern (gimple.h:2055) with -O -fexceptions -ftree-vectorize
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46663 --- Comment #3 from irar at gcc dot gnu.org 2010-12-05 08:27:46 UTC --- Author: irar Date: Sun Dec 5 08:27:42 2010 New Revision: 167470 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167470 Log: PR tree-optimization/46663 * tree-vect-patterns.c (vect_recog_pow_pattern): Check that FUNCTION_DECL exists and that it's a builtin. Added: branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/vect/pr46663.c Modified: branches/gcc-4_3-branch/gcc/ChangeLog branches/gcc-4_3-branch/gcc/testsuite/ChangeLog branches/gcc-4_3-branch/gcc/tree-vect-patterns.c
[Bug tree-optimization/46663] ICE: SIGSEGV in vect_recog_pow_pattern (gimple.h:2055) with -O -fexceptions -ftree-vectorize
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46663 --- Comment #4 from irar at gcc dot gnu.org 2010-12-05 11:31:12 UTC --- Author: irar Date: Sun Dec 5 11:31:09 2010 New Revision: 167472 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167472 Log: PR tree-optimization/46663 * tree-vect-patterns.c (vect_recog_pow_pattern): Check that FUNCTION_DECL exists and that it's a builtin. Added: branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/vect/pr46663.c Modified: branches/gcc-4_4-branch/gcc/ChangeLog branches/gcc-4_4-branch/gcc/testsuite/ChangeLog branches/gcc-4_4-branch/gcc/tree-vect-patterns.c