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
/
981130-1.c
blob
c4ca227d1e857ef1745cf92d7ca96c0b8d4e3266
1
/* { dg-xfail-if "alias analysis conflicts with instruction scheduling" { m32r-*-* } { "-O2" "-O1" "-O0" "-Os"} { "" } } */
2
struct
s
{
int
a
;
int
b
;};
3
struct
s s1
;
4
struct
s s2
= {
1
,
2
, };
5
6
void
7
check
(
a
,
b
)
8
int
a
;
9
int
b
;
10
{
11
if
(
a
==
b
)
12
exit
(
0
);
13
else
14
abort
();
15
}
16
17
int
18
main
()
19
{
20
int
*
p
;
21
int
x
;
22
23
s1
.
a
=
9
;
24
p
= &
s1
.
a
;
25
s1
=
s2
;
26
x
= *
p
;
27
28
check
(
x
,
1
);
29
}
30
31