1 /* PR tree-optimization/45830 */
3 /* { dg-additional-options "-fno-tree-switch-conversion" { target avr-*-* } } */
5 extern void abort (void);
7 long long va
, vb
, vc
, vd
, ve
;
9 __attribute__((noinline
)) int
12 long long a
, b
, c
, d
, e
;
73 if (x
== 5 || x
== 19 || x
== 23 | x
== 26 || x
== 65)
75 if ((x
>= 20 && x
<= 22) || x
== 27 || x
== 38
76 || x
== 45 || x
== 47 || x
== 66)
81 long long expected
[] =
82 { 1, 129, -12, -4, 128, 2, 138, 115, 128, -16,
83 3, 6, 127, 25, 257, 0, 18, 0, 64, 32768L };
89 for (i
= -4; i
< 70; i
++)
93 if (va
!= expected
[5 * v
] || vb
!= expected
[5 * v
+ 1]
94 || vc
!= expected
[5 * v
+ 2] || vd
!= expected
[5 * v
+ 3]
95 || ve
!= expected
[5 * v
+ 4])