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
[AArch64] Merge stores of D-register values with different modes
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr34768-1.c
blob
eb16adbf1f351153993698a6d41f4061153df7d3
1
int
x
;
2
3
void
__attribute__
((
noinline
))
foo
(
void
)
4
{
5
x
= -
x
;
6
}
7
void
__attribute__
((
const
,
noinline
))
bar
(
void
)
8
{
9
}
10
11
int
__attribute__
((
noinline
))
12
test
(
int
c
)
13
{
14
int
tmp
=
x
;
15
(
c
?
foo
:
bar
) ();
16
return
tmp
+
x
;
17
}
18
19
extern
void
abort
(
void
);
20
int
main
()
21
{
22
x
=
1
;
23
if
(
test
(
1
) !=
0
)
24
abort
();
25
return
0
;
26
}