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
Add __builtion_unreachable to vector::size(), vector::capacity()
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr89520-1.c
blob
128e8359d40c70cf8f1fa8b5eecb3800b4ff5bfe
1
/* PR c/89520 */
2
/* { dg-do compile } */
3
/* { dg-options "-Ofast -w" } */
4
5
#define A(name) __typeof (__builtin_##name (0)) name (); long name##1 () { return name (); }
6
#define B(name) A(name) A(name##f) A(name##l)
7
B
(
ceil
)
8
B
(
floor
)
9
B
(
round
)
10
B
(
trunc
)
11
B
(
nearbyint
)
12
B
(
rint
)
13
B
(
logb
)