1 /* { dg-do compile } */
2 /* { dg-options "-Os -fbranch-count-reg" } */
3
4 /* This caused an assertion within arc_loop_hazard. */
5
6 unsigned a, b;
7
8 long fn1()
9 {
10 long c = 1, d = 0;
11 while (a && c && b)
12 c <<= 1;
13 while (c)
14 d |= c;
15 return d;
16 }