view gcc/testsuite/gcc.dg/pr83527.c @ 131:84e7813d76e9

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

/* PR debug/83527 */
/* { dg-do compile } */
/* { dg-options "-O2 -fcompare-debug" } */

extern void fn2(void);
extern void fn3(void);
int a, b;
void fn1() {
  int c;
  short d;
  switch (a) {
  case 32800:
    fn2();
  case 32769:
    b = 0;
  case 32771:
  case 32772:
  case 32782:
    fn3();
  }
  if (d || c) {
    do
      ;
    while (0);
  }
}