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
c++: Fix ICE with #embed/RAW_DATA_CST after list conversion [PR118671]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr116406.c
blob
6643c49218fee8facb36efb8a2230b4542c01768
1
/* { dg-do compile } */
2
/* { dg-options "-Os -finstrument-functions-once" } */
3
/* { dg-additional-options "-mfpmath=387" { target { x86_64-*-* i?86-*-* } } } */
4
5
typedef
union
{
6
float
f32
;
7
double
f64
;
8
long
i64
;
9
}
U
;
10
11
_Bool
12
foo
(
int
c
,
U u
)
13
{
14
switch
(
c
)
15
{
16
case
1
:
17
return
u
.
f32
-
u
.
f64
;
18
case
0
:
19
return
u
.
i64
;
20
}
21
}