⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pr20017.c

📁 linux下编程用 编译软件
💻 C
字号:
/* PR rtl-optimization/20017   After CSE/GCSE folds a switch statement to an unconditional jump,   cfg_cleanup did not remove a dead jump table, confusing the CFG   layout code later on.  *//* { dg-do compile } *//* { dg-options "-O1" } *//* { dg-options "-O1 -march=i386" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */intfoo (int *buf, int *p){  int result;  const int *tmp;  if (*buf)    return 1;  result = 2;  *buf = 2;  tmp = buf;  switch (*tmp)    {    case 3:    case 4:    case 6:    case 14:      return 1;    case 0:      result = *p;      /* Fall through.  */    default:      if (result)	return 1;    }  return 0;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -