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
Fix warnings occured during profiledboostrap on
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20011217-2.c
blob
0d9935969c3d11fc8bfcf88acb71f711fe1d7e3c
1
/* Test that the initializer of a compound literal is properly walked
2
when tree inlining. */
3
/* Origin: glibc (as reported in PR c/5105) from <aj@suse.de>. */
4
5
inline
int
6
finite
(
double
__x
)
7
{
8
return
(
__extension__
9
(((((
union
{
double
__d
;
int
__i
[
2
]; }) {
__d
:
__x
}).
__i
[
1
]
10
|
0x800fffff
u
) +
1
) >>
31
));
11
}
12
13
int
14
main
(
void
)
15
{
16
double
x
=
1.0
;
17
18
return
finite
(
x
);
19
}