Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/compile/20030902-1.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
typedef __SIZE_TYPE__ size_t; typedef unsigned long int reg_syntax_t; struct re_pattern_buffer { unsigned char *buffer; }; typedef enum { jump, jump_n, } re_opcode_t; static int foo (bufp) struct re_pattern_buffer *bufp; { int mcnt; unsigned char *p = bufp->buffer; switch (((re_opcode_t) * p++)) { unconditional_jump: ; /* This test case caused an ICE because the statement insertion routines were failing to update basic block boundaries. */ case jump: do { (mcnt) = *(p) & 0377; } while (0); (p) += 2; p += mcnt; case jump_n: (mcnt) = *(p + 2) & 0377; if (mcnt) goto unconditional_jump; } }