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
This commit is contained in:
parent
ec22e73ba8
commit
60407f7a65
4 changed files with 23 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
12
gcc/testsuite/gcc.dg/torture/pr21817-1.c
Normal file
12
gcc/testsuite/gcc.dg/torture/pr21817-1.c
Normal file
|
@ -0,0 +1,12 @@
|
|||
/* { 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:
|
||||
|
|
Loading…
Add table
Reference in a new issue