[Bug libstdc++/118196] The assignment operator for std::generator does not return, so generators cannot be reassigned

2024-12-27 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118196 Arsen Arsenović changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/118022] : _Copy_awaiter should explicitly construct _Yielded_decvref

2024-12-27 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118022 Arsen Arsenović changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/118196] The assignment operator for std::generator does not return, so generators cannot be reassigned

2024-12-27 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118196 --- Comment #2 from Arsen Arsenović --- fixed, thanks for the report

[Bug libstdc++/118022] : _Copy_awaiter should explicitly construct _Yielded_decvref

2024-12-24 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118022 Arsen Arsenović changed: What|Removed |Added Target Milestone|--- |15.0 Status|NEW

[Bug libstdc++/118022] : _Copy_awaiter should explicitly construct _Yielded_decvref

2024-12-24 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118022 Arsen Arsenović changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/77958] printf format checking -vs- variadic template functions

2024-12-07 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77958 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment #

[Bug c/117305] include files processed differently depending on directory they were fetched from

2024-10-27 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117305 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug c/117241] New: Various pedwarns in c-decl.cc are behind !in_system_header_at

2024-10-20 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117241 Bug ID: 117241 Summary: Various pedwarns in c-decl.cc are behind !in_system_header_at Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug bootstrap/112534] [14/15 regression] build failure after r14-5424-gdb50aea6259545 using gcc 4.8.5

2024-10-14 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112534 --- Comment #18 from Arsen Arsenović --- the patch would likely be beneficial anyway - overriding configure-discovered flags seems fragile

[Bug c++/116914] [15 regression] ICE when building plasma-nm-6.1.5 (gimplify_var_or_parm_decl, at gimplify.cc:3309)

2024-10-13 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116914 --- Comment #6 from Arsen Arsenović --- You need -fext-numeric-literals or a GNU C++ -std - the original was built with -std=gnu++20.

[Bug c/116457] Add -frandomize-layout-seed and -frandomize-layout-seed-file

2024-10-06 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116457 --- Comment #11 from Arsen Arsenović --- (In reply to Andrew Pinski from comment #9) > (In reply to Arsen Arsenović from comment #8) > > > what happens if you have 2 structs marked as randomize_layout but the > > > order > > > of the definition

[Bug c/116457] Add -frandomize-layout-seed and -frandomize-layout-seed-file

2024-10-06 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116457 --- Comment #8 from Arsen Arsenović --- (In reply to Andrew Pinski from comment #7) > (In reply to Arsen Arsenović from comment #6) > > (In reply to Andrew Pinski from comment #5) > > > > but it is already in reliable real-world use. > > > > >

[Bug c/116457] Add -frandomize-layout-seed and -frandomize-layout-seed-file

2024-10-06 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116457 --- Comment #6 from Arsen Arsenović --- (In reply to Andrew Pinski from comment #5) > > but it is already in reliable real-world use. > > Then that real world use is broken. > > >It's a pretty isolated change and doesn't impact any later stage

[Bug c++/116882] gcc-14 ICE with coroutines

2024-09-28 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116882 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug c++/116793] [15 regression] ice in gimplify_var_or_parm_decl, at gimplify.cc:3309 since r15-3513

2024-09-27 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116793 Arsen Arsenović changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/116502] [15 Regression] -Wunused-result warning cannot be suppressed if coroutine awaiter returns a reference after r15-2318-g2664c1bf83855b

2024-09-27 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116502 Arsen Arsenović changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/116793] [15 regression] ice in gimplify_var_or_parm_decl, at gimplify.cc:3309 since r15-3513

2024-09-25 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116793 --- Comment #13 from Arsen Arsenović --- I realized there were preprocessed full sources attached to the bug and tested those also. they did not ICE, so I will send the patch (though I'd still appreciate seeing results from large programs and t

[Bug c++/112341] error: insufficient contextual information to determine type on co_await result in function template

2024-09-25 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112341 Arsen Arsenović changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #5 from Arsen Ars

[Bug c++/116793] [15 regression] ice in gimplify_var_or_parm_decl, at gimplify.cc:3309 since r15-3513

2024-09-25 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116793 Arsen Arsenović changed: What|Removed |Added Attachment #59191|0 |1 is obsolete|

[Bug c++/116793] [15 regression] ice in gimplify_var_or_parm_decl, at gimplify.cc:3309 since r15-3513

2024-09-25 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116793 Arsen Arsenović changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |arsen at gcc dot gnu.org

[Bug c++/116775] C++20 Coroutine await_suspend is unexpectedly executed when using in __builtin_constant_p

2024-09-20 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116775 Arsen Arsenović changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

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

2024-09-19 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116327 Arsen Arsenović changed: What|Removed |Added CC||ivor+gccbugzilla at posteo dot ee --

[Bug c++/116633] [coroutines] ICE: Promise with Variadic Templated Constructor and Reference to the Instance of the Member Coroutine

2024-09-19 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116633 Arsen Arsenović changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIR

[Bug lto/116344] Wlto-type-mismatch and Wodr should show what TUs mismatched

2024-09-14 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116344 Arsen Arsenović changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug lto/94150] Improve LTO diagnosis for LTO triggered warnings/error: print source.o or source.a(lib.o) when printing location

2024-09-14 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94150 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment #

[Bug c++/116633] [coroutines] ICE: Promise with Variadic Templated Constructor and Reference to the Instance of the Member Coroutine

2024-09-06 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116633 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org Ke

[Bug c++/106973] coroutine generator and setjmp

2024-09-04 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106973 Arsen Arsenović changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #10 from Arsen Ar

[Bug c++/108620] coroutines: ICE: in instantiate_type, at cp/class.cc:8742 when assign the return value of co_yield to a member of class/struct

2024-09-03 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108620 Arsen Arsenović changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

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

2024-09-03 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102217 --- Comment #11 from Arsen Arsenović --- (In reply to John Eivind Helset from comment #9) > Hit this as well on master (9d5c500c4fa) in something like `co_return > co_await f(a, b ? c : d);`, if I lift the conditional out of await it seems > ok.

[Bug c++/109283] Destructor of co_yield conditional argument called twice

2024-09-03 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109283 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug c++/106973] coroutine generator and setjmp

2024-09-03 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106973 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org As

[Bug c++/116502] [15 Regression] -Wunused-result warning cannot be suppressed if coroutine awaiter returns a reference after r15-2318-g2664c1bf83855b

2024-09-02 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116502 Arsen Arsenović changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug c++/105475] coroutines: ICE in coerce_template_parms, at cp/pt.cc:9183

2024-08-29 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105475 Arsen Arsenović changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #6 from Arsen Ars

[Bug c++/113457] Nesting coroutine definitions (e.g. via a lambda or a template expansion) can ICE the compiler

2024-08-29 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113457 Arsen Arsenović changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #10 from Arsen Ar

[Bug c++/109867] -Wswitch-default reports missing default in coroutine

2024-08-29 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109867 Arsen Arsenović changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |arsen at gcc dot gnu.org

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

2024-08-29 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105104 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org As

[Bug middle-end/115859] ICE: in lower_stmt, at gimple-low.cc:724 with -g and __attribute__((optimize(3)))

2024-08-28 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115859 Arsen Arsenović changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug debug/104050] '-fcompare-debug' failure w/ -std=c++20 -O1

2024-08-28 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104050 Arsen Arsenović changed: What|Removed |Added Resolution|--- |WORKSFORME Status|NEW

[Bug c++/116502] [15 Regression] -Wunused-result warning cannot be suppressed if coroutine awaiter returns a reference after r15-2318-g2664c1bf83855b

2024-08-27 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116502 Arsen Arsenović changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/115851] ICE in gimplify_var_or_parm_decl with coroutine suspension point inside statement expression

2024-08-25 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115851 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug c++/113457] Nesting coroutine definitions (e.g. via a lambda or a template expansion) can ICE the compiler

2024-08-23 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113457 Arsen Arsenović changed: What|Removed |Added Summary|Trying to emulate |Nesting coroutine |

[Bug c++/54367] [meta-bug] lambda expressions

2024-08-23 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 101367, which changed state. Bug 101367 Summary: [coroutines] destructor for capture in lambda temporary operand to co_yield expression called twice https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101367 What

[Bug c++/101367] [coroutines] destructor for capture in lambda temporary operand to co_yield expression called twice

2024-08-23 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101367 Arsen Arsenović changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/108620] coroutines: ICE: in instantiate_type, at cp/class.cc:8742 when assign the return value of co_yield to a member of class/struct

2024-08-23 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108620 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug c/112699] Should limits.h in freestanding environment be self-contained?

2024-08-19 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112699 --- Comment #4 from Arsen Arsenović --- it would IMO - no use in libc stuff in freestanding. mind proposing a patch?

[Bug c/84052] Using Randomizing structure layout plugin in linux kernel compilation doesn't generate proper debuginfo

2024-08-18 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84052 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment #

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

2024-08-14 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102217 --- Comment #10 from Arsen Arsenović --- (In reply to John Eivind Helset from comment #9) > Hit this as well on master (9d5c500c4fa) in something like `co_return > co_await f(a, b ? c : d);`, if I lift the conditional out of await it seems > ok.

[Bug middle-end/115859] ICE: in lower_stmt, at gimple-low.cc:724 with -g and __attribute__((optimize(3)))

2024-08-14 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115859 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug debug/104050] '-fcompare-debug' failure w/ -std=c++20 -O1

2024-08-14 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104050 --- Comment #8 from Arsen Arsenović --- possibly related to PR c++/101118 (and notably the fix for it)

[Bug debug/104050] '-fcompare-debug' failure w/ -std=c++20 -O1

2024-08-14 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104050 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug c++/115731] Coroutine lambda type is incomplete when selecting promise constructor

2024-08-12 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115731 --- Comment #3 from Arsen Arsenović --- ah, no, never mind - it does. per [expr.prim.lambda]#6, ... Otherwise, it is a non-static member function or member function template, ... so, yeah, we need to complete that type, likely

[Bug c++/115731] Coroutine lambda type is incomplete when selecting promise constructor

2024-08-12 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115731 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug lto/116344] New: Wlto-type-mismatch and Wodr should show what TUs mismatched

2024-08-12 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116344 Bug ID: 116344 Summary: Wlto-type-mismatch and Wodr should show what TUs mismatched Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement

[Bug c++/105595] Coroutines can trigger -Wsubobject-linkage

2024-08-06 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105595 --- Comment #8 from Arsen Arsenović --- indeed, but that's also true for the functions, no?

[Bug c++/105595] Coroutines can trigger -Wsubobject-linkage

2024-08-06 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105595 Arsen Arsenović changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/116178] wish: command line -std=c++newest

2024-08-01 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116178 --- Comment #3 from Arsen Arsenović --- +1, 'latest' might be a bit of a footgun > I would be happier with -std=c++experimental or possibly -std=c++next or both, for latest released and latest draft standard revisions

[Bug middle-end/109224] Wmismatched-new-delete false positive with a templated operator new (common with coroutines)

2024-08-01 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109224 --- Comment #6 from Arsen Arsenović --- so, indeed, this appears to fix the original testcase: modified gcc/gimple-ssa-warn-access.cc @@ -1762,7 +1762,16 @@ new_delete_mismatch_p (tree new_decl, tree delete_decl) void *np = NULL, *dp = NUL

[Bug middle-end/109224] Wmismatched-new-delete false positive with a templated operator new (common with coroutines)

2024-08-01 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109224 --- Comment #5 from Arsen Arsenović --- (actually, it's simpler to make the operator new simply have template in the reproducer rather than the pack constrained to size 0)

[Bug middle-end/109224] Wmismatched-new-delete false positive with a templated operator new (common with coroutines)

2024-08-01 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109224 Arsen Arsenović changed: What|Removed |Added Summary|Wmismatched-new-delete |Wmismatched-new-delete

[Bug c++/105595] Coroutines can trigger -Wsubobject-linkage

2024-07-31 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105595 --- Comment #4 from Arsen Arsenović --- hm, actually, is this valid code? in https://eel.is/c++draft/basic.def.odr#15 the standard says: For any definable item D with definitions in multiple translation units, - (15.1) if D is a non-inline non

[Bug middle-end/116151] [12/13/14/15 Regression] G++ fails to diagnose -Waggressive-loop-optimizations when going past the end of an array

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116151 --- Comment #2 from Arsen Arsenović --- I suspect this is due to EH - -fno-exceptions fixes the C++ case, as does noexcept, and -fexceptions breaks the C case.

[Bug c++/116151] New: [7.1 Regression] G++ fails to diagnose -Waggressive-loop-optimizations when going past the end of an array

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116151 Bug ID: 116151 Summary: [7.1 Regression] G++ fails to diagnose -Waggressive-loop-optimizations when going past the end of an array Product: gcc Version: 7.1.0

[Bug c++/115908] [coroutines] Wrong behavior of using get_return_object() when creating coroutines

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115908 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org Last recon

[Bug c++/113773] coroutines: promise deconstructed twice if throwing from return object

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113773 Arsen Arsenović changed: What|Removed |Added Last reconfirmed||2024-07-30 CC|

[Bug ipa/115309] Simple coroutine based generator is not optimized well

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115309 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org Last recon

[Bug c++/104981] [coroutines] Internal compiler error when promise object's constructor takes a base class of the object parameter

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104981 Arsen Arsenović changed: What|Removed |Added CC||netcan1996 at gmail dot com --- Comme

[Bug c++/54367] [meta-bug] lambda expressions

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 103358, which changed state. Bug 103358 Summary: what is the first constructor argument of lambda coroutine promise_type? https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103358 What|Removed

[Bug c++/103358] what is the first constructor argument of lambda coroutine promise_type?

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103358 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org Reso

[Bug c++/110855] std::source_location doesn't work with C++20 coroutine

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110855 Arsen Arsenović changed: What|Removed |Added CC||redbeard0531 at gmail dot com --- Com

[Bug c++/102363] source_location in await_transform has function_name referring to internal coroutine funclet rather than source-level function

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102363 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org

[Bug c++/106667] Diagnosing misuses of capturing lambda coroutines

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106667 Arsen Arsenović changed: What|Removed |Added Status|UNCONFIRMED |NEW Severity|normal

[Bug middle-end/109224] Wmismatched-new-delete false positive with coroutines

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109224 Arsen Arsenović changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/112341] error: insufficient contextual information to determine type on co_await result in function template

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112341 Arsen Arsenović changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug c++/110855] std::source_location doesn't work with C++20 coroutine

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110855 Arsen Arsenović changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/115906] [coroutines] missing diagnostic and ICE when co_await used as default argument in function declaration

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115906 Arsen Arsenović changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/111728] C++ 20 coroutine segmentation fault in generic lambda

2024-07-29 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111728 Arsen Arsenović changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |arsen at gcc dot gnu.org

[Bug c++/105475] coroutines: ICE in coerce_template_parms, at cp/pt.cc:9183

2024-07-27 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105475 Arsen Arsenović changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |arsen at gcc dot gnu.org

[Bug c++/110171] [[nodiscard]] of await_resume ignored when discarding result of co_await expression

2024-07-25 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110171 Arsen Arsenović changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |arsen at gcc dot gnu.org

[Bug c++/103868] ICE at end of coroutine when using asio

2024-07-25 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103868 Arsen Arsenović changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/101367] [coroutines] destructor for capture in lambda temporary operand to co_yield expression called twice

2024-07-25 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101367 Arsen Arsenović changed: What|Removed |Added CC||nilsgladitz at gmail dot com --- Comm

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

2024-07-25 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100611 Arsen Arsenović changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/95457] Inadequate diagnostics on constrained coroutines

2024-07-23 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95457 Arsen Arsenović changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/116057] Miscompilation of nodejs with -ftree-slp-vectorize on arm64 and probably others

2024-07-23 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116057 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug c++/115660] internal compiler error: in build_special_member_call, at cp/call.cc:11085

2024-07-23 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115660 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org,

[Bug c++/103953] Leak of coroutine return object

2024-07-23 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103953 Arsen Arsenović changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/105475] coroutines: ICE in coerce_template_parms, at cp/pt.cc:9183

2024-07-22 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105475 --- Comment #3 from Arsen Arsenović --- ah, seems that we're missing handling of error_mark_node in a few places while processing a coroutine, causing the middle-end to be confused later. I'll leave that for later.

[Bug c++/109867] -Wswitch-default reports missing default in coroutine

2024-07-22 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109867 --- Comment #3 from Arsen Arsenović --- (In reply to Arsen Arsenović from comment #2) > this corresponds to the four switches emitted for the coroutine > implementation after morphing these fns into coroutine functions. the other > cases are un

[Bug c++/110171] [[nodiscard]] of await_resume ignored when discarding result of co_await expression

2024-07-22 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110171 --- Comment #2 from Arsen Arsenović --- no - it is because convert_to_void does not know how to warn about discarded co_awaits, and it does not get re-invoked when we expand co_awaits

[Bug libstdc++/115907] Libstdc++ and GCC itself should avoid glibc above 2.34 dependency

2024-07-21 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115907 Arsen Arsenović changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/115907] Libstdc++ and GCC itself should avoid glibc above 2.34 dependency

2024-07-21 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115907 --- Comment #48 from Arsen Arsenović --- Please stop resetting the bug status. You create unneeded churn. This bug is invalid. (In reply to cqwrteur from comment #43) > This is completely BS. Old libc cannot build with the latest gcc since th

[Bug c++/104981] [coroutines] Internal compiler error when promise object's constructor takes a base class of the object parameter

2024-07-21 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104981 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug c++/105475] coroutines: ICE in coerce_template_parms, at cp/pt.cc:9183

2024-07-18 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105475 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug c++/99575] [coroutines] unexpected move when co_awaiting a nonmoveable object

2024-07-18 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99575 Arsen Arsenović changed: What|Removed |Added CC||fchelnokov at gmail dot com --- Commen

[Bug c++/103963] Coroutine return type needs not be copy- or move-constructible

2024-07-18 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103963 Arsen Arsenović changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

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

2024-07-18 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102217 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug c++/110855] std::source_location doesn't work with C++20 coroutine

2024-07-18 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110855 --- Comment #5 from Arsen Arsenović --- agreed, but note that it still gives us the name of the actor function: pr110855.C:51:1ReturnObject bar(int) pr110855.C:51:1void bar(bar(int)::_Z3bari.Frame*) (the latter print is from initial_suspen

[Bug bootstrap/115951] [15 Regression] pgo+lto enabled bootstrap fails building gnat (ICE in fold_stmt, at gimple-range-fold.cc:701)

2024-07-17 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115951 --- Comment #6 from Arsen Arsenović --- *** Bug 115918 has been marked as a duplicate of this bug. ***

[Bug ada/115918] [15 regression] Bootstrap failure in GNAT with --with-build-config=bootstrap-lto --enable-languages=c,ada,c++,lto

2024-07-17 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115918 Arsen Arsenović changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/109867] -Wswitch-default reports missing default in coroutine

2024-07-16 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109867 Arsen Arsenović changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug c++/108643] Initializing parameter by ref in coroutine function causes memory corruption

2024-07-16 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108643 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

  1   2   3   >