Somehow, I missed to checkin this test when I fixed pr17635 (with
appropriate ChangeLog entry). From-SVN: r90757
This commit is contained in:
parent
57e4228616
commit
a3fcfe27d8
11
gcc/testsuite/gcc.dg/pr17635.c
Normal file
11
gcc/testsuite/gcc.dg/pr17635.c
Normal file
@ -0,0 +1,11 @@
|
||||
/* PR 17635 */
|
||||
/* Contributed by Devang Patel <dpatel@apple.com> */
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -ftree-vectorize" } */
|
||||
|
||||
void foo(int i)
|
||||
{
|
||||
while (1)
|
||||
if (i) ++i;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user