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 _FloatN, _FloatNx tests for __builtin_fpclassify.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr47743.c
blob
1930e94d2ca917f377bd62e668cccb007bbf57f5
1
/* { dg-do compile } */
2
3
int
4
foo
(
void
*
x
,
int
y
)
5
{
6
long long
a
=
1
, *
b
;
7
double
*
c
;
8
if
(
y
)
9
{
10
b
= (
long long
*)
x
;
11
while
(
b
)
12
a
*= *
b
++;
13
}
14
else
15
{
16
c
= (
double
*)
x
;
17
while
(
c
)
18
a
*= *
c
++;
19
}
20
return
a
;
21
}
22