Commit 60407f7a by Zdenek Dvorak Committed by Zdenek Dvorak

re PR tree-optimization/21817 (ICE in for_each_index, at tree-ssa-loop-im.c:200)

	PR tree-optimization/21817
	* tree-ssa-loop-im.c (for_each_index): Handle VECTOR_CST.

From-SVN: r100410
parent ec22e73b
2005-05-31 Zdenek Dvorak <dvorakz@suse.cz>
PR tree-optimization/21817
* tree-ssa-loop-im.c (for_each_index): Handle VECTOR_CST.
2005-05-31 Pat Haugen <pthaugen@us.ibm.com>
* loop.c (loop_invariant_p, valid_initial_value_p): Revert last
......
2005-05-31 Zdenek Dvorak <dvorakz@suse.cz>
PR tree-optimization/21817
* gcc.dg/torture/pr21817-1.c: New.
2005-05-31 Nathan Sidwell <nathan@codesourcery.com>
PR c++/21165
......
/* { dg-do compile } */
typedef float v4sf __attribute__((vector_size(16)));
v4sf value;
void foo(void)
{
unsigned int band;
for(band=0; band < 2; band++)
{
value += (v4sf){1e9f,1e9f,1e9f,1e9f};
}
}
......@@ -201,6 +201,7 @@ for_each_index (tree *addr_p, bool (*cbck) (tree, tree *, void *), void *data)
case PARM_DECL:
case STRING_CST:
case RESULT_DECL:
case VECTOR_CST:
return true;
default:
......
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