1 /* PR optimization/12628 */
2 /* The following test used to ICE in init_alias_analysis because the
3    given command line options meant that reg_scan wasn't (re)run before
4    the jump bypassing pass.  */
5 
6 /* { dg-do compile } */
7 /* { dg-options "-O2 -fno-expensive-optimizations" } */
8 
9 int outbuf[100];
10 int outcnt;
11 int bi_buf;
send_bits(void)12 void send_bits(void)
13 {
14     bi_buf = 0;
15     outbuf[outcnt++] = 8;
16     outbuf[outcnt++] = 8;
17     if (outcnt)
18         bi_buf = 1;
19 }
20 
21