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 c++/37276
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr46307.c
blob
c308b5669f2a758b82f14c1ac3b15430eb879eb2
1
/* PR debug/46307 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -g" } */
4
5
double
fma
(
double
,
double
,
double
);
6
7
double
8
foo
(
double
x
,
double
y
,
double
z
)
9
{
10
double
a
=
x
*
y
+
z
;
11
double
b
=
__builtin_fma
(
x
,
y
,
z
);
12
double
c
=
fma
(
x
,
y
,
z
);
13
return
x
/
y
/
z
;
14
}