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
/
fold-complex-1.c
blob
cf07cef07ed9da50a4e83697b76ce90d0db833be
1
/* { dg-do compile } */
2
/* { dg-options "-O -ffast-math -fdump-tree-original" } */
3
4
_Complex
float
5
foo
(
_Complex
float
x
)
6
{
7
return
__real x
+
1.0
iF
*
__imag x
;
8
}
9
10
/* { dg-final { scan-tree-dump-times "COMPLEX_EXPR" 0 "original" } } */