Simplify nvptx/slp* test-cases
Use signed loop iteration variable in nvtpx/slp* test-cases to work around PR tree-optimizaion/81635. 2017-08-01 Tom de Vries <tom@codesourcery.com> * gcc.target/nvptx/slp-2.c (foo): Use signed loop iteration variable. * gcc.target/nvptx/slp.c (foo): Same. From-SVN: r250778
This commit is contained in:
parent
813485c661
commit
0102e469f5
3 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2017-08-01 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
* gcc.target/nvptx/slp-2.c (foo): Use signed loop iteration variable.
|
||||
* gcc.target/nvptx/slp.c (foo): Same.
|
||||
|
||||
2017-08-01 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/81181
|
||||
|
|
|
@ -9,7 +9,7 @@ foo ()
|
|||
{
|
||||
long long int a, b;
|
||||
|
||||
unsigned int i;
|
||||
int i;
|
||||
for (i = 0; i < 1000; i += 2)
|
||||
{
|
||||
a = p[i];
|
||||
|
|
|
@ -9,7 +9,7 @@ foo ()
|
|||
{
|
||||
int a, b;
|
||||
|
||||
unsigned int i;
|
||||
int i;
|
||||
for (i = 0; i < 1000; i += 2)
|
||||
{
|
||||
a = p[i];
|
||||
|
|
Loading…
Add table
Reference in a new issue