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
PR tree-optimization/84740
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr48067.c
blob
779690918ce3a4d502562c4d5648e776f9140315
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -ffast-math -fno-tree-forwprop -fno-tree-reassoc" } */
3
/* { dg-options "-O2 -ffast-math -fno-tree-forwprop -fno-tree-reassoc -mfma4" { target x86_64-*-* i?86-*-* } } */
4
5
float
6
foo
(
float
x
,
float
cim
)
7
{
8
float
c
=
x
*
cim
;
9
float
d
= -
c
;
10
return
c
-
d
;
11
}