https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101645
--- Comment #4 from Matthew Wilcox ---
On second thoughts -Wsign-conversion is useless. Consider that it warns on
this:
unsigned long f(unsigned long x, int y) {
return x + y;
}
Both gcc and clang emit a warning, which makes it useless.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101645
Bug ID: 101645
Summary: -Wsign-conversion misses negation of unsigned int
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7
Matthew Wilcox changed:
What|Removed |Added
CC||matthew at wil dot cx
--- Comment #1 fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97287
Bug ID: 97287
Summary: Warn for expanding range of an arithmetic type
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c