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
2017-11-15 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr65980.c
blob
dbd42c5c866115b071c4d0db7665674b7cdf853b
1
/* PR rtl-optimization/65980 */
2
/* { dg-do compile } */
3
/* { dg-options "-O3 -fcompare-debug" } */
4
/* { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } */
5
6
typedef
struct
{
int
b
; }
A
;
7
void
(*
a
) (
int
);
8
int
b
;
9
10
int
11
foo
(
A
*
v
)
12
{
13
asm goto
(
""
: :
"m"
(
v
->
b
) : :
l
);
14
return
0
;
15
l
:
16
return
1
;
17
}
18
19
int
20
bar
(
void
)
21
{
22
if
(
b
)
23
{
24
if
(
foo
(
0
) &&
a
)
25
a
(
0
);
26
return
0
;
27
}
28
if
(
foo
(
0
) &&
a
)
29
a
(
0
);
30
return
0
;
31
}