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
AVR: Overhaul the avr-ifelse RTL optimization pass.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
BUG11.c
blob
2d11c4be5fa8e2633610c17446076a828ba224c5
1
/* { dg-additional-options "-std=gnu89" } */
2
3
#define DD 2410065408
4
5
unsigned
6
foo
(
d
)
7
double
d
;
8
{
9
return
d
;
10
}
11
12
#if foobar
13
14
main
()
15
{
16
#if bar
17
unsigned
u
=
DD
;
18
double
d
= (
double
)
u
;
19
#else
20
double
d
= (
double
)
DD
;
21
#endif
22
printf
(
"%u = %u = %lf
\n
"
,
foo
((
double
)
DD
),
foo
(
d
),
d
);
23
}
24
#else
25
26
main
()
27
{
28
printf
(
"%lf
\n
"
, (
double
) ((
unsigned
)
DD
));
29
foo
((
double
)
DD
);
30
}
31
#endif