Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr103207.c
blob: 69c0f555f86c95f19ab0d3e884fa6a8e4520cd32 [
file
] [
log
] [
blame
]
// { dg-do compile }
// { dg-options "-O2 --param case-values-threshold=1 -w" }
int
f
(
int
i
)
{
switch
(
i
)
{
case
2147483647
:
return
1
;
case
9223372036854775807L
:
return
2
;
case
(
2147483647
*
4
)%
4
:
return
4
;
}
return
0
;
}