https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119025
Bug ID: 119025
Summary: libiberty fails demangling some template function
names
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Prior
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106837
--- Comment #4 from Ofek Shilon ---
This can be tested empirically. Remove the entire build_x_binary_op check,
build gcc and run on this snippet. If it builds correctly than the begin/end
types are indeed comparable and the emitted error is fals
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106837
--- Comment #2 from Ofek Shilon ---
(In reply to Andrew Pinski from comment #1)
> > In this case the begin/end iter types *are* comparable
> Not exactly as the operator!= requires a lvalue. And end() is not an lvalue.
Then enable comparison als
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106837
Bug ID: 106837
Summary: False compilation error "inconsistent begin/end types
in range-based 'for' statement"
Product: gcc
Version: 12.2.1
Status: UNCONFIRMED