Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/torture/pr46216.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-require-effective-target label_values } */ typedef int Embryo_Cell; int embryo_program_run(Embryo_Cell *cip) { unsigned char op; Embryo_Cell offs; static const void *switchtable[256] = { &&SWITCHTABLE_EMBRYO_OP_NONE, &&SWITCHTABLE_EMBRYO_OP_LOAD_PRI }; for (;;) { op = *cip++; while (1) { goto *switchtable[op]; SWITCHTABLE_EMBRYO_OP_LOAD_PRI: offs = *(Embryo_Cell *)cip++; SWITCHTABLE_EMBRYO_OP_NONE: break; }; } return offs; }