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
/
complex-2.c
blob
ce72eb2172f709e54c6d212de09da544a450d5ea
1
/* Verify that we don't libcall for complex / real. */
2
/* { dg-do compile } */
3
/* { dg-options "-std=c99 -O -fdump-tree-optimized" } */
4
5
typedef
_Complex
float
C
;
6
7
C
foo
(
C x
,
float
y
)
8
{
9
return
x
/
y
;
10
}
11
12
/* { dg-final { scan-tree-dump-times "__div" 0 "optimized" } } */