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
rs6000: Update ELFv2 stack frame comment showing the correct ROP save location
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
981130-1.c
blob
9135a9b7bf00fe6b47815d04a108d43e74745caa
1
/* { dg-xfail-if "alias analysis conflicts with instruction scheduling" { m32r-*-* } { "-O2" "-O1" "-O0" "-Os"} { "" } } */
2
void
abort
(
void
);
3
void
exit
(
int
);
4
struct
s
{
int
a
;
int
b
;};
5
struct
s s1
;
6
struct
s s2
= {
1
,
2
, };
7
8
void
9
check
(
a
,
b
)
10
int
a
;
11
int
b
;
12
{
13
if
(
a
==
b
)
14
exit
(
0
);
15
else
16
abort
();
17
}
18
19
int
20
main
()
21
{
22
int
*
p
;
23
int
x
;
24
25
s1
.
a
=
9
;
26
p
= &
s1
.
a
;
27
s1
=
s2
;
28
x
= *
p
;
29
30
check
(
x
,
1
);
31
}
32
33