20031020-1.c

来自「用于进行gcc测试」· C语言 代码 · 共 24 行

C
24
字号
/* PR target/12654   The Alpha backend tried to do a >= 1024 as (a - 1024) >= 0, which fails   for very large negative values.  *//* Origin: tg@swox.com  */#include <limits.h>extern void abort (void);void __attribute__((noinline))foo (long x){  if (x >= 1024)    abort ();}intmain (){  foo (LONG_MIN);  foo (LONG_MIN + 10000);  return 0;}

⌨️ 快捷键说明

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