https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112642
Jonathan Wakely changed:
What|Removed |Added
Component|libstdc++ |c++
--- Comment #4 from Jonathan Wake
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112642
--- Comment #5 from Miro Palmu ---
I have been trying to figure out where exactly the bug is and these are my
findings.
> Or:
>
> #include
>
> consteval void bar() {
> auto _ = [](std::string s) { return s; }({});
> }
>
> int main() {
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112642
--- Comment #6 from Jonathan Wakely ---
(In reply to Miro Palmu from comment #5)
> If you use libstdc++ on clang these will not compile but with different
> errors.
The examples in comment 4 do compile using libstdc++ on clang, if you use
libst
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112642
--- Comment #7 from Miro Palmu ---
(In reply to Jonathan Wakely from comment #6)
> The examples in comment 4 do compile using libstdc++ on clang, if you use
> libstdc++ headers from after sept 29 (for trunk) or oct 21 (for gcc-13).
I was testin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112642
--- Comment #8 from Jonathan Wakely ---
(In reply to Miro Palmu from comment #7)
> (In reply to Jonathan Wakely from comment #6)
> > The examples in comment 4 do compile using libstdc++ on clang, if you use
> > libstdc++ headers from after sept
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112642
--- Comment #9 from Miro Palmu ---
(In reply to Jonathan Wakely from comment #8)
> > Also tried it locally with clang 16.0.6 with
> > gcc-13.2.1 libstdc++
>
> Which gcc-13.2.1 though? That's a snapshot that could date from any time in
> the pas
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112642
--- Comment #10 from Jonathan Wakely ---
(In reply to Miro Palmu from comment #9)
> Mine is 13.2.1 20230801 so way before Oct 21. (I did not know there were
> different snapshots of the releases, I'm just a user trying to help :) )
13.2.1 (and