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
/
pr84309-2.c
blob
ced55d4a6468c60f00023150ec2f93330683df5e
1
/* PR middle-end/84309 */
2
/* { dg-do compile } */
3
/* { dg-options "-Ofast -fdump-tree-optimized" } */
4
5
double
6
foo
(
double
x
)
7
{
8
return
__builtin_pow
(
2.0
,
x
);
9
}
10
11
/* { dg-final { scan-tree-dump "__builtin_exp2 " "optimized" { target *-*-linux* *-*-gnu* } } } */