[Bug c++/121094] ICE on `co_await (obj->*func)(args...)`

2025-07-15 Thread dprokoptsev at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121094 --- Comment #2 from Dmitry Prokoptsev --- I don't think so -- this does repro on the current master, which has the fix for bug 120273 (https://gcc.gnu.org/cgit/gcc/commit/?id=3b95be7bd1882add4b1e22f6b70bc130cd465eca).

[Bug c++/121094] New: ICE on `co_await (obj->*func)(args...)`

2025-07-15 Thread dprokoptsev at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121094 Bug ID: 121094 Summary: ICE on `co_await (obj->*func)(args...)` Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/101976] When constructing object, calling function and performing co_await in same statement, temporary is erroneously moved trivially

2022-08-11 Thread dprokoptsev at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101976 --- Comment #1 from Dmitry Prokoptsev --- I believe I stumbled on this one as well -- see https://godbolt.org/z/or31cz6eW, although it's not as trivial as the snippet provided here. Reproduces in 10.3 and all subsequent versions.

[Bug libstdc++/103755] {has,use}_facet() and iostream constructor performance

2021-12-18 Thread dprokoptsev at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103755 --- Comment #6 from Dmitry Prokoptsev --- That would also work, I suppose (it even outperforms my original approach by a tiny bit -- 33 ns for v2 vs 36 for my original implementation). There are a few build errors in the alternative implementat

[Bug libstdc++/103755] {has,use}_facet() and iostream constructor performance

2021-12-18 Thread dprokoptsev at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103755 --- Comment #5 from Dmitry Prokoptsev --- Created attachment 52029 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52029&action=edit Build fix for alternative implementation v2.

[Bug libstdc++/103755] New: {has,use}_facet() and iostream constructor performance

2021-12-16 Thread dprokoptsev at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103755 Bug ID: 103755 Summary: {has,use}_facet() and iostream constructor performance Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug c++/102656] ICE on coroutines on -fsanitize=address -O1

2021-10-08 Thread dprokoptsev at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102656 --- Comment #1 from Dmitry Prokoptsev --- Follow-up: adding a non-trivial copy constructor -- future(const future& f): x(f.x) {} -- also resolves the ICE.

[Bug c++/102656] New: ICE on coroutines on -fsanitize=address -O1

2021-10-08 Thread dprokoptsev at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102656 Bug ID: 102656 Summary: ICE on coroutines on -fsanitize=address -O1 Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c+