[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

[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] 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] 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++/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++/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++/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++/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++/117400] New: ICE on invalid requires clause of generic lambda in function template

2024-11-01 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117400 Bug ID: 117400 Summary: ICE on invalid requires clause of generic lambda in function template Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/117422] New: Error: template parameter was not declared in this scope

2024-11-02 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117422 Bug ID: 117422 Summary: Error: template parameter was not declared in this scope Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Prio

[Bug c++/117422] Error: template parameter was not declared in this scope

2024-11-02 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117422 --- Comment #4 from eczbek.void at gmail dot com --- Wow, very strange. Thanks for the workaround.

[Bug c++/117336] New: ICE on lambda in requires expression

2024-10-28 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117336 Bug ID: 117336 Summary: ICE on lambda in requires expression Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/117518] New: ICE: too many template parameter lists in declaration of lambda

2024-11-09 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117518 Bug ID: 117518 Summary: ICE: too many template parameter lists in declaration of lambda Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/117515] Error: passing lambda expression to constructor in requires expression is invalid

2024-11-09 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117515 --- Comment #3 from eczbek.void at gmail dot com --- (In reply to Jan Schultke from comment #1) > this is particularly weird because > > > bool b = requires { int([] {}); }; > > ... is accepted, so static_assert is in some way related. Testing

[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++/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++/117515] New: Error: calling constructor with lambda expression in requires expression is invalid

2024-11-09 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117515 Bug ID: 117515 Summary: Error: calling constructor with lambda expression in requires expression is invalid Product: gcc Version: 15.0 Status: UNCONFIRMED Seve

[Bug c++/117937] ICE: in expand_expr_real_1

2024-12-06 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117937 --- Comment #5 from eczbek.void at gmail dot com --- Sorry, I forgot that I was testing in Compiler Explorer. Please ignore.

[Bug c++/115792] throw() should be diagnostic/errored out with C++20+ (and deprecated warning for C++17)

2024-12-05 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115792 eczbek.void at gmail dot com changed: What|Removed |Added CC||eczbek.void at gmail dot c

[Bug c++/117937] New: ICE: in expand_expr_real_1

2024-12-06 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117937 Bug ID: 117937 Summary: ICE: in expand_expr_real_1 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assigne

[Bug c++/117937] ICE: in expand_expr_real_1

2024-12-06 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117937 --- Comment #4 from eczbek.void at gmail dot com --- (In reply to Marek Polacek from comment #2) > This one was fixed yesterday: bug 117898. My GCC version is 15.0.0 20241206 and running `git log` in the directory I built GCC from shows the late

[Bug c++/117937] ICE: in expand_expr_real_1

2024-12-06 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117937 --- Comment #1 from eczbek.void at gmail dot com --- Another ICE if `f()` is called without arguments: https://godbolt.org/z/aba3M7h9W internal compiler error: tree check: accessed elt 1 of 'tree_vec' with 0 elts in make_pack_index

[Bug c++/118391] New: ICE: in add_extra_args, at cp/pt.cc:13737

2025-01-09 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118391 Bug ID: 118391 Summary: ICE: in add_extra_args, at cp/pt.cc:13737 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

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

2025-01-19 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117061 --- Comment #3 from eczbek.void at gmail dot com --- Another test case: https://godbolt.org/z/98joW6saj ``` auto f = [x = 0] noexcept(noexcept(x)) { return x; }; ``` :1:36: error: 'x' was not declared in this scope 1 | auto f = [x = 0] noex

[Bug c++/118619] New: ICE on lambda with explicit this parameter in concept

2025-01-22 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118619 Bug ID: 118619 Summary: ICE on lambda with explicit this parameter in concept Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug c++/118620] New: ICE: Segmentation fault

2025-01-22 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118620 Bug ID: 118620 Summary: ICE: Segmentation fault Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug c++/118526] New: infinite compile time

2025-01-16 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118526 Bug ID: 118526 Summary: infinite compile time Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: un

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

2025-03-03 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117061 --- Comment #4 from eczbek.void at gmail dot com --- Constructors too :( ``` template struct S { S(int x) requires(requires { [x] { x; }; }) {} }; ``` ``` : In lambda function: :3:41: error: use of parameter outside function body before ';

[Bug c++/119175] New: ICE segfault on lambda in requires clause of generic lambda in requires clause

2025-03-09 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119175 Bug ID: 119175 Summary: ICE segfault on lambda in requires clause of generic lambda in requires clause Product: gcc Version: 15.0 Status: UNCONFIRMED Severity:

[Bug c++/119134] New: ICE segfault on capturing lambda in fold expression in requires clause

2025-03-05 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119134 Bug ID: 119134 Summary: ICE segfault on capturing lambda in fold expression in requires clause Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/119134] ICE segfault on capturing lambda in fold expression in requires clause

2025-03-06 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119134 --- Comment #1 from eczbek.void at gmail dot com --- I might've forgotten an extra set of parentheses around the fold expression, so here's an updated link: https://godbolt.org/z/P9bq4GhcP ``` void f(auto... args) requires(([args] {}, ..., true)

[Bug c++/119048] New: ICE Segfault on lambda with variadic parameters and static specifier

2025-02-27 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119048 Bug ID: 119048 Summary: ICE Segfault on lambda with variadic parameters and static specifier Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/119129] New: ICE: in keep_template_parm, at cp/pt.cc:11115

2025-03-05 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119129 Bug ID: 119129 Summary: ICE: in keep_template_parm, at cp/pt.cc:5 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c+

[Bug c++/119129] [14/15 Regression] ICE: in keep_template_parm, at cp/pt.cc:11115

2025-03-05 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119129 --- Comment #2 from eczbek.void at gmail dot com --- Is the ice-on-invalid-code tag correct? The code looks valid to me and it seems to compile on Clang.

[Bug c++/119328] New: ICE on generic lambda with defaulted parameter in requires clause

2025-03-17 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119328 Bug ID: 119328 Summary: ICE on generic lambda with defaulted parameter in requires clause Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/119316] New: new expression incorrectly required to have constant expression size

2025-03-16 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119316 Bug ID: 119316 Summary: new expression incorrectly required to have constant expression size Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/119347] New: ICE: in tsubst, at cp/pt.cc:16632

2025-03-17 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119347 Bug ID: 119347 Summary: ICE: in tsubst, at cp/pt.cc:16632 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/119345] New: ICE segfault on capturing lambda in fold expression in capturing lambda

2025-03-17 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119345 Bug ID: 119345 Summary: ICE segfault on capturing lambda in fold expression in capturing lambda Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/119346] New: ICE: in tsubst_pack_expansion, at cp/pt.cc:13899

2025-03-17 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119346 Bug ID: 119346 Summary: ICE: in tsubst_pack_expansion, at cp/pt.cc:13899 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/119503] Error on decltype of lambda expression in variadic NTTP

2025-03-27 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119503 eczbek.void at gmail dot com changed: What|Removed |Added Resolution|--- |INVALID Statu

[Bug c++/119503] New: Error on decltype of lambda expression in variadic NTTP

2025-03-27 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119503 Bug ID: 119503 Summary: Error on decltype of lambda expression in variadic NTTP Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Prior

[Bug c++/12944] [meta-bug] C++ name-lookup problems

2025-03-28 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12944 Bug 12944 depends on bug 117061, which changed state. Bug 117061 Summary: Error on use of parameter in lambda outside function body https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117061 What|Removed |Added ---

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

2025-03-28 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117061 eczbek.void at gmail dot com changed: What|Removed |Added Resolution|--- |INVALID Statu

[Bug c++/119807] New: constexpr counter thing causes ICE: in instantiate_decl, at cp/pt.cc:27844

2025-04-14 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119807 Bug ID: 119807 Summary: constexpr counter thing causes ICE: in instantiate_decl, at cp/pt.cc:27844 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: nor

[Bug c++/119819] New: ICE on unexpanded template parameter pack

2025-04-15 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119819 Bug ID: 119819 Summary: ICE on unexpanded template parameter pack Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++