Commit 78336739 by Jakub Jelinek Committed by Jakub Jelinek

re PR tree-optimization/51356 (FAIL: gfortran.dg/anyallcount_1.f90 -O3 …

re PR tree-optimization/51356 (FAIL: gfortran.dg/anyallcount_1.f90  -O3  (internal compiler error) on powerpc-apple-darwin9 with -m32)

	PR tree-optimization/51356
	* tree-vect-patterns.c (vect_recog_bool_pattern): Give up if
	vectype doesn't have VECTOR_MODE_P.

From-SVN: r181891
parent ec8c1492
2011-12-01 Jakub Jelinek <jakub@redhat.com> 2011-12-01 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/51356
* tree-vect-patterns.c (vect_recog_bool_pattern): Give up if
vectype doesn't have VECTOR_MODE_P.
PR debug/50317 PR debug/50317
* tree-ssa-dce.c (remove_dead_stmt): Add a debug stmt when removing * tree-ssa-dce.c (remove_dead_stmt): Add a debug stmt when removing
as unnecessary a store to a variable with gimple reg type. as unnecessary a store to a variable with gimple reg type.
...@@ -2074,6 +2074,8 @@ vect_recog_bool_pattern (VEC (gimple, heap) **stmts, tree *type_in, ...@@ -2074,6 +2074,8 @@ vect_recog_bool_pattern (VEC (gimple, heap) **stmts, tree *type_in,
stmt_vec_info pattern_stmt_info; stmt_vec_info pattern_stmt_info;
vectype = STMT_VINFO_VECTYPE (stmt_vinfo); vectype = STMT_VINFO_VECTYPE (stmt_vinfo);
gcc_assert (vectype != NULL_TREE); gcc_assert (vectype != NULL_TREE);
if (!VECTOR_MODE_P (TYPE_MODE (vectype)))
return NULL;
if (!check_bool_pattern (var, loop_vinfo)) if (!check_bool_pattern (var, loop_vinfo))
return NULL; return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment