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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr100329.c
blob
5759131a6cae76700f7f4a84462eb9e10f12f7cf
1
/* { dg-do compile { target asm_goto_with_outputs } } */
2
/* { dg-additional-options "--param tree-reassoc-width=2" } */
3
4
unsigned int
a0
;
5
6
unsigned int
7
foo
(
unsigned int
a1
,
unsigned int
a2
)
8
{
9
unsigned int
x
;
10
11
asm goto
(
""
:
"=r"
(
x
) : : :
lab
);
12
a0
=
x
;
13
14
lab
:
15
return
x
+
a1
+
a2
+
1
;
16
}