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
* gcc.c-torture/compile/20080625-1.c: Skip for M32C.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20010426-1.c
1
struct { char *m; long n; } a[20];
2
int b = 20, c;
3
void bar(void) __attribute__((__noreturn__));
4
5
int
6
foo(int x)
7
{
8
int i;
9
10
for (i = 0; i < x; i++)
11
{
12
a[0].m = "a"; a[0].n = 10; c=1;
13
a[c].m = "b"; a[c].n = 32; c++;
14
if (c >= b) bar ();
15
a[c].m = "c"; a[c].n = 80; c++;
16
if (c >= b) bar ();
17
}
18
return 0;
19
}