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
/
pr104675-2.c
blob
037d0c4f10dd5e2011aeb3c4cb1c456eb0156fd6
1
/* PR tree-optimization/104675 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2" } */
4
5
void
baz
(
int
i
);
6
7
void
8
bar
(
_Complex
int
c
,
short
s
)
9
{
10
c
-=
s
;
11
baz
(
__real__ c
+
__imag__ c
);
12
}
13
14
void
15
foo
(
void
)
16
{
17
bar
(-
1
-
1
i
,
0
);
18
}