[Bug ipa/119119] [12/13/14 Regression] ICE in create_tmp_var

2025-03-06 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119119 --- Comment #11 from John Eivind Helset --- Tested on e836d80374a, works now! Thanks!

[Bug c++/119119] ICE in create_tmp_var

2025-03-04 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119119 --- Comment #1 from John Eivind Helset --- Created attachment 60655 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60655&action=edit Preprocessed source File was too big so had to compress. Decompress with `tar -xf source.tar.gz`, compile

[Bug c++/119119] New: ICE in create_tmp_var

2025-03-04 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119119 Bug ID: 119119 Summary: ICE in create_tmp_var Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug c++/97452] [coroutines] incorrect sequencing of await_resume() when multiple co_await expressions occur in a single statement

2024-09-20 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97452 --- Comment #14 from John Eivind Helset --- Added what I think is an even more minimal reproducer in attachment pr97452.cc. In the gimple I see: : resume.6: _16 = Z::await_resume (&z);

[Bug c++/97452] [coroutines] incorrect sequencing of await_resume() when multiple co_await expressions occur in a single statement

2024-09-20 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97452 --- Comment #13 from John Eivind Helset --- Created attachment 59162 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59162&action=edit pr97452.cc Reduced reproducer.

[Bug c++/116327] [14/15 Regression] ICE in coroutine with parameter preview on lambda with captures since r15-2210

2024-08-13 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116327 --- Comment #6 from John Eivind Helset --- Works, thanks.

[Bug c++/116327] [14/15 Regression] ICE in coroutine with parameter preview on lambda with captures since r15-2210

2024-08-12 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116327 --- Comment #4 from John Eivind Helset --- if compiling my project with 14.2.1 in release mode (cmake / -O3) i got another ICE from `internal compiler error: in set_parm_rtl, at cfgexpand.cc:1436`. 0x21a7bea internal_error(char const*, ...)

[Bug c++/102217] co_awaiting a temporary produced by ternary operator crashes (double-free)

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

[Bug c++/116327] ICE in coroutine with parameter preview on lambda with captures.

2024-08-10 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116327 --- Comment #2 from John Eivind Helset --- had to revert both changes in 066c7893eae to compile my hobby project without ICE.

[Bug c++/116327] ICE in coroutine with parameter preview on lambda with captures.

2024-08-10 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116327 --- Comment #1 from John Eivind Helset --- Created attachment 58899 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58899&action=edit Reproducer, compile with --std=c++20

[Bug c++/116327] New: ICE in coroutine with parameter preview on lambda with captures.

2024-08-10 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116327 Bug ID: 116327 Summary: ICE in coroutine with parameter preview on lambda with captures. Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal

[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: n

[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<&X::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 --- Comm

[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&action=edit Patch with testcase. Tried adding a testcase to the g++.dg/coroutines testsuite. Used dg-ice, but it seem

[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 en

[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 #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 P

[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 --- Comm

[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&action=edit Add CLASSTYPE_TEMPLATE_INFO guard and test-case. Tried to guard the the conditional with CLASSTYPE_TEMPLA

[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: norma

[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