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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr83723.c
blob
a64fe9b56b9edb6e0b5fe92dc3496825cbfb41a8
1
/* PR rtl-optimization/83723 */
2
/* { dg-do compile } */
3
/* { dg-options "-g -O2" } */
4
/* { dg-additional-options "-mfpmath=sse -msse2" { target i?86-*-* x86_64-*-* } } */
5
/* { dg-additional-options "-fpie" { target pie } } */
6
7
int
foo
(
void
);
8
float
bar
(
float
);
9
int
*
v
;
10
11
void
12
baz
(
void
)
13
{
14
float
a
=
bar
(
0.0
);
15
bar
(
a
);
16
if
(
v
)
17
bar
(
1.0
);
18
if
(
a
<
1.0
)
19
a
=
foo
() /
a
;
20
}