comparison gcc/testsuite/gcc.dg/20031201-1.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
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;
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