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/execute/ieee/rbug.x: XFAIL FreeBSD 5.x.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
divconst-1.c
1
typedef struct
2
{
3
unsigned a, b, c, d;
4
} t1;
5
6
f (t1 *ps)
7
{
8
ps->a = 10000;
9
ps->b = ps->a / 3;
10
ps->c = 10000;
11
ps->d = ps->c / 3;
12
}
13
14
main ()
15
{
16
t1 s;
17
f (&s);
18
if (s.a != 10000 || s.b != 3333 || s.c != 10000 || s.d != 3333)
19
abort ();
20
exit (0);
21
}