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

📄 bitfld-4.c

📁 linux下编程用 编译软件
💻 C
字号:
/* When comparisons of bit-fields to unsigned constants got shortened,   the shortened signed constant was wrongly marked as overflowing,   leading to a later integer_zerop failure and misoptimization.   Related to bug tree-optimization/16437 but shows the problem on   32-bit systems.  *//* Origin: Joseph Myers <jsm@polyomino.org.uk> */extern void abort (void);struct s { int a:12, b:20; };struct s x = { -123, -456 };intmain (void){  if (x.a != -123U || x.b != -456U)    abort ();  return 0;}

⌨️ 快捷键说明

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