view gcc/testsuite/gcc.dg/pr80112.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

/* PR rtl-optimization/80112 */
/* { dg-do compile } */
/* { dg-options "-Os -fmodulo-sched" } */
/* { dg-require-effective-target label_values } */

void **a;

void
foo (int c)
{
  void *d[] = {&&e, &&f};
  a = d;
  switch (c)
    {
    f:
      c = 9;
      /* FALLTHRU */
    case 9:
      goto *a++;
    e:;
    }
}