repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
divconst-1.c
blob
ce9dd60a8e8cfde673ccce4300bde6d980aa5a08
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
}