📄 wstrict-overflow-21.c
字号:
/* PR 32102: -Wall stomps on -Wstrict-overflow *//* { dg-do compile } *//* { dg-options "-fstrict-overflow -O2 -Wstrict-overflow=2 -Wall" } */intfoo (){ int i, bits; for (i = 1, bits = 1; i > 0; i += i) /* { dg-warning "assuming signed overflow does not occur" "correct warning" } */ ++bits; return bits;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -