https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113852
Bug ID: 113852
Summary: -Wsign-compare doesn't warn on unsigned result types
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Compon
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113852
--- Comment #1 from Zachary L ---
Sorry, that should say "If *both* a1 or a2 are constexpr, the warning will
occur."
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113852
--- Comment #7 from Zachary L ---
(In reply to Richard Biener from comment #6)
> Well, given athat a1 * a2 is carried out in 'int' you are invoking undefined
> behavior if it overflows. GCC assumes that doesn't happen so it's correct
> to elide
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45
Bug ID: 45
Summary: istream::operator>>(streambuf*) does not set gcount
Product: gcc
Version: 13.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Compo