How does gcc know that an integer value is too large?

后端 未结 0 1622
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-28 08:09

When running the simple C program

int main()
{
    int x = 123123123123;
    return 0;
}

gcc warns: warning: overflow in implicit constant

相关标签:
回答
  • 消灭零回复
提交回复
热议问题