https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102804
--- Comment #5 from Todd Rudick ---
Richard, is there a way to represent the part of this that is a bug?
Presumably accepting the construct but having it break template specialization
with an error that can be arbitrarily disconnected from the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102805
--- Comment #2 from rudick at gmail dot com ---
Interesting.
if (f && end > start && start < 100 && end < 100) {
& I still get the warning though
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102805
Bug ID: 102805
Summary: at -O2, spurious stringop-overflow warning writing to
std::vector::back()
Product: gcc
Version: 11.2.0
Status: UNCONFIRMED
Severity: no
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102804
Bug ID: 102804
Summary: template matching fails w/ false ambiguity on ternary
expressions with enums
Product: gcc
Version: 11.2.0
Status: UNCONFIRMED
Severity: