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
Document gcov-io (PR gcov-profile/84735).
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr65980.c
blob
4babad6d4179f3d7c83d20481b0b6b6cf06dfd57
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
}