2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / 20031201-1.c
blobe6ea70b01c48c8981acdca2cc0d4699961cc9160
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 -fno-rerun-loop-opt" } */
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;