📄 wstrict-overflow-1.c
字号:
/* { dg-do compile } *//* { dg-options "-fstrict-overflow -O2 -Wstrict-overflow=3" } *//* Source: Ian Lance Taylor. Based on strict-overflow-1.c. *//* We can only simplify the conditional when using strict overflow semantics. */intfoo (int i){ return i - 5 < 10; /* { dg-warning "assuming signed overflow does not occur" "correct warning" } */}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -