[Bug c++/117061] Error on use of parameter in lambda outside function body

2024-10-10 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117061 --- Comment #2 from eczbek.void at gmail dot com --- Clang errors on a similar-looking piece of code: ``` void foo(auto x) noexcept(noexcept([x] { x; })) {} ```

[Bug c++/117061] New: Error on use of parameter in lambda outside function body

2024-10-10 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117061 Bug ID: 117061 Summary: Error on use of parameter in lambda outside function body Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c++/117054] New: ICE on variable template initialized to generic lambda containing constexpr-if containing instantiation of template with a NTTP defaulted to a lambda

2024-10-09 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117054 Bug ID: 117054 Summary: ICE on variable template initialized to generic lambda containing constexpr-if containing instantiation of template with a NTTP defaulted to a lambda

[Bug c++/117034] ICE on abbreviated function template with type constraint containing a lambda argument

2024-10-08 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117034 --- Comment #4 from eczbek.void at gmail dot com --- Whoops.

[Bug c++/117034] ICE on abbreviated function template with type constraint containing a lambda argument

2024-10-08 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117034 --- Comment #2 from eczbek.void at gmail dot com --- Is this error related? ``` template concept A = true; template T> void foo(T) {} ``` Compiler Explorer link: https://godbolt.org/z/dfKaW8dxa

[Bug c++/117034] New: ICE on abbreviated function template with type constraint containing a lambda argument

2024-10-08 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117034 Bug ID: 117034 Summary: ICE on abbreviated function template with type constraint containing a lambda argument Product: gcc Version: 15.0 Status: UNCONFIRMED S

[Bug c++/116960] New: ICE: Error reporting routines re-entered

2024-10-03 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116960 Bug ID: 116960 Summary: ICE: Error reporting routines re-entered Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/116952] New: Error on lambda NTTP argument to type constraint in template parameter list of generic lambda

2024-10-02 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116952 Bug ID: 116952 Summary: Error on lambda NTTP argument to type constraint in template parameter list of generic lambda Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug c++/116928] New: Error on NTTP with '>' in braced default

2024-10-01 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116928 Bug ID: 116928 Summary: Error on NTTP with '>' in braced default Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/116745] New: ICE on NTTP defaulted to generic lambda with template parameter list containing type parameter with type constraint

2024-09-16 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116745 Bug ID: 116745 Summary: ICE on NTTP defaulted to generic lambda with template parameter list containing type parameter with type constraint Product: gcc Version:

[Bug c++/115865] New: Internal compiler error when ill-formed conversion from std::initializer_list is attempted

2024-07-10 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115865 Bug ID: 115865 Summary: Internal compiler error when ill-formed conversion from std::initializer_list is attempted Product: gcc Version: 15.0 Status: UNCONFIRMED