diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-04-17 11:22:07 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-04-17 11:22:07 +0000 |
commit | 740a2cb6e886905c141074dfcbe7976c7e7baf79 (patch) | |
tree | e92c611aff1949568c16e22a343380f90a7e4aeb /gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i2.c | |
parent | 3e7a28e891887c8dcd3968b8d46a5c32101ae1b4 (diff) | |
download | gcc-740a2cb6e886905c141074dfcbe7976c7e7baf79.tar.gz |
* tree-ssa-alias.c (nonoverlapping_component_refs_of_decl_p): New.
(decl_refs_may_alias_p): Add REF1 and REF2 parameters.
Use nonoverlapping_component_refs_of_decl_p to disambiguate component
references.
(refs_may_alias_p_1): Adjust call to decl_refs_may_alias_p.
* tree-streamer.c (record_common_node): Adjust reference in comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198024 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i2.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i2.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i2.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i2.c index 25cabb693c5..dca34ef1f29 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i2.c @@ -10,6 +10,8 @@ typedef struct { unsigned short b; } s; +volatile int y = 0; + __attribute__ ((noinline)) int main1 () { @@ -22,8 +24,8 @@ main1 () { arr[i].a = i; arr[i].b = i * 2; - if (arr[i].a == 178) - abort(); + if (y) /* Avoid vectorization. */ + abort (); } for (i = 0; i < N; i++) |