view gcc/testsuite/gcc.dg/tree-ssa/pr86263.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
line wrap: on
line source

/* { dg-do compile } */

void f1 (void *);
void f2 (void *);
void f3 (void *);
void f4 (void *);

char
_dcvt (void *ptr, char type, int opt, int val)
{
  switch (type)
    {
    case 'f':
      f4 (ptr);
    case 'F':
      f1 (ptr);
      break;
    case 'g':
    case 'G':
      if (opt == 0)
	opt = 1;
      f2 (ptr);
      break;
    case 'e':
    case 'E':
      f3 (ptr);
    }
  return val;
}