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

📄 20030120-1.c

📁 this is a gcc file, you can download it and learn its usetility, for further detail please look at t
💻 C
字号:
/* On H8/300 port, NOTICE_UPDATE_CC had a bug that causes the final   pass to remove test insns that should be kept.  */unsigned shorttest1 (unsigned short w){  if ((w & 0xff00) == 0)    {      if (w == 0)	w = 2;    }  return w;}unsigned longtest2 (unsigned long w){  if ((w & 0xffff0000) == 0)    {      if (w == 0)	w = 2;    }  return w;}inttest3 (unsigned short a){  if (a & 1)    return 1;  else if (a)    return 1;  else    return 0;}intmain (){  if (test1 (1) != 1)    abort ();  if (test2 (1) != 1)    abort ();  if (test3 (2) != 1)    abort ();  exit (0);}

⌨️ 快捷键说明

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