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
2012-05-30 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr53501.c
1
/* { dg-do run } */
2
3
extern void abort (void);
4
5
int e[100], n, here;
6
7
void __attribute__((noinline))
8
foo(void)
9
{
10
int i, k = 0;
11
for (i = 0; i < n; ++i) { e[k] = 10; ++k; e[k] = 10; ++k; }
12
for (i = 0; i < k; ++i) here = 1;
13
if (here != 1)
14
abort ();
15
}
16
17
int main(void)
18
{
19
n = 10;
20
foo();
21
return 0;
22
}