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
/
tree-ssa
/
pr71078-2.c
blob
b74dbf536ab3e4171b47932836c2d928fc2abe00
1
/* { dg-do compile } */
2
/* { dg-require-effective-target c99_runtime } */
3
/* { dg-options "-O2 -ffast-math -fdump-tree-forwprop-details" } */
4
5
#include <math.h>
6
7
float
f1
(
float
x
)
8
{
9
float
t1
=
fabsf
(
x
);
10
float
t2
=
t1
/
x
;
11
return
t2
;
12
}
13
14
/* { dg-final { scan-tree-dump "__builtin_copysignf" "forwprop1" } } */