[Bug c++/98939] [C++23] Implement P1787R6 "Declarations and where to find them"

2023-03-28 Thread alisdairm at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98939 Alisdair Meredith changed: What|Removed |Added CC||alisdairm at me dot com --- Comment

[Bug c++/43144] Possible ADL bug in GCC 4.4.1

2023-03-20 Thread alisdairm at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43144 --- Comment #2 from Alisdair Meredith --- gcc 4.5 and later correctly report errors, as the language specification for rvalue and forwarding references changed between 4.4 and 4.5. I'm not sure what ADL bug I thought I was hitting, but with the

[Bug c++/98038] ICE on invalid trying to recursively invoke a lambda object with operator()

2020-11-27 Thread alisdairm at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98038 --- Comment #1 from Alisdair Meredith --- The following example code gives an internal compiler error, I suspect due to the invalid attempt to call `operator()` recursively on the lambda object. Use the -std=c++20 language flag: #include

[Bug c++/98038] New: ICE on invalid trying to recursively invoke a lambda object with operator

2020-11-27 Thread alisdairm at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98038 Bug ID: 98038 Summary: ICE on invalid trying to recursively invoke a lambda object with operator Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: