OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR tree-optimization/30843
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr28839.c
1
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2
/* { dg-options "-O2 -msse2 -ftree-vectorize -funswitch-loops" } */
3
4
static int ready[10];
5
void abort (void);
6
void test_once (int t,int t1)
7
{
8
int i, repeat;
9
for (i = 0; i < 10; i++)
10
{
11
ready[i] = 0;
12
if (t1)
13
if (b())
14
abort ();
15
}
16
if (t)
17
abort ();
18
}