PR tree-optimization/84740
[official-gcc.git] / gcc / testsuite / gcc.dg / 20031201-1.c
blob91f2d9ddf7ded690941212613885f0e34c3e1c0b
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. */
6 /* { dg-do compile } */
7 /* { dg-options "-O2 -fno-expensive-optimizations" } */
9 int outbuf[100];
10 int outcnt;
11 int bi_buf;
12 void send_bits(void)
14 bi_buf = 0;
15 outbuf[outcnt++] = 8;
16 outbuf[outcnt++] = 8;
17 if (outcnt)
18 bi_buf = 1;