[Bug c++/112842] Constrained parameter pack with trailing param gives no matching function.

2023-12-04 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112842 --- Comment #1 from John Eivind Helset --- hopefully not a duplicate, couldn't find any matching ones, https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69623 was the closest i could find.

[Bug c++/112842] New: Constrained parameter pack with trailing param gives no matching function.

2023-12-04 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112842 Bug ID: 112842 Summary: Constrained parameter pack with trailing param gives no matching function. Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity:

[Bug c++/102493] non-type template specialization for member pointer to field and function reports leads to unexpected conflict

2023-07-25 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102493 --- Comment #1 from John Eivind Helset --- ran into this today as well with: ```cpp struct X{ void f(char){} }; template struct Y{}; template struct Y{}; template struct Y{}; Y<::f> y; ``` using gcc 13.1.1, clang trunk accepted same code.

[Bug c++/110025] [C++23] ICE with default-argument for template-param with decltype and auto.

2023-05-30 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110025 --- Comment #7 from John Eivind Helset --- (In reply to Andrew Pinski from comment #2) > Created attachment 55200 [details] > testcase 1 > > Please next time attach the testcases rather than just links to godbolt. Will do! Thanks.

[Bug c++/110025] ICE with default-argument for template-param with decltype and auto.

2023-05-29 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110025 --- Comment #1 from John Eivind Helset --- Some other weirdness related to use of `auto(expr)` in template-arguments: https://godbolt.org/z/jf64xExTW Might be a separate bug.

[Bug c++/110025] New: ICE with default-argument for template-param with decltype and auto.

2023-05-29 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110025 Bug ID: 110025 Summary: ICE with default-argument for template-param with decltype and auto. Product: gcc Version: 13.1.1 Status: UNCONFIRMED Severity: normal

[Bug c++/100673] [coroutines] Non-template, UDT await_suspend return-type results in ICE.

2023-05-29 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100673 John Eivind Helset changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/104548] parser rejects alias template id of lambda in unevaluated-context and accepts when no alias is used

2022-08-17 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104548 John Eivind Helset changed: What|Removed |Added CC||jehelset at gmail dot com ---

[Bug c++/105104] [coroutines] ICE during GIMPLE pass: coro-early-expand-ifns

2022-03-31 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105104 --- Comment #5 from John Eivind Helset --- Created attachment 52729 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52729=edit Patch with testcase. Tried adding a testcase to the g++.dg/coroutines testsuite. Used dg-ice, but it seems to

[Bug c++/105104] [coroutines] ICE during GIMPLE pass: coro-early-expand-ifns

2022-03-31 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105104 --- Comment #4 from John Eivind Helset --- It seems a non-void return-type from await-resume of a final awaitable, combined with at least -O1 causes a segfault: https://godbolt.org/z/rzq8dM7Pr Not sure if it's the same as the one I initially

[Bug c++/105104] [coroutines] ICE during GIMPLE pass: coro-early-expand-ifns

2022-03-30 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105104 --- Comment #2 from John Eivind Helset --- I'll try to create an MRE eventually...

[Bug c++/105104] [coroutines] ICE during GIMPLE pass: coro-early-expand-ifns

2022-03-29 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105104 --- Comment #1 from John Eivind Helset --- Indices of `bb` and `case_bb` in `convert_single_case_switch` are: (gdb) p bb->index $18 = 154 (gdb) p case_bb->index $19 = 157 If that helps.

[Bug c++/105104] New: [coroutines] ICE during GIMPLE pass: coro-early-expand-ifns

2022-03-29 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105104 Bug ID: 105104 Summary: [coroutines] ICE during GIMPLE pass: coro-early-expand-ifns Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/100611] coroutines: destructor called too many times for coroutine lambda stored object

2021-05-23 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100611 John Eivind Helset changed: What|Removed |Added CC||jehelset at gmail dot com ---

[Bug c++/100673] [coroutines] Non-template, UDT await_suspend return-type results in ICE.

2021-05-21 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100673 --- Comment #1 from John Eivind Helset --- Created attachment 50854 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50854=edit Add CLASSTYPE_TEMPLATE_INFO guard and test-case. Tried to guard the the conditional with

[Bug c++/100673] New: [coroutines] Non-template, UDT await_suspend return-type results in ICE.

2021-05-19 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100673 Bug ID: 100673 Summary: [coroutines] Non-template, UDT await_suspend return-type results in ICE. Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug c++/97587] New: [coroutines] promise_type constructor is called with original parameters, not parameter copies

2020-10-26 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97587 Bug ID: 97587 Summary: [coroutines] promise_type constructor is called with original parameters, not parameter copies Product: gcc Version: unknown Status: UNCONFIRMED