https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101355
Dan Klishch changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101355
Bug ID: 101355
Summary: compiling coroutines with ubsan emits bogus
-Wmaybe-uninitialized warnings
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: nor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101355
--- Comment #1 from Dan Klishch ---
Created attachment 51112
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51112&action=edit
gcc with -v option output
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101355
--- Comment #2 from Dan Klishch ---
GCC incorrectly gimplifies the program. The code that is causing the warning is
in the coroutine's actor function:
try
{
D.9829 = &frame_ptr->__p;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115851
--- Comment #1 from Dan Klishch ---
GCC seems to do checks for coroutine-related types more eagerly now, so the
original minified reproducer is rejected. Nonetheless, the underlying issue
persists, which can be shown using this snippet:
```
#in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116482
Bug ID: 116482
Summary: Bogus -Wunused-parameter with C++ coroutines
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: c++-coroutines
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116502
Bug ID: 116502
Summary: [15 Regression] -Wunused-result warning is not
supressed if coroutine awaiter returns a reference
Product: gcc
Version: 15.0
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116502
--- Comment #2 from Dan Klishch ---
Can confirm that the patch fixes both the minified reproducer from the bug
report and also the original reproducer (TestAsyncTestStreams from SerenityOS).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116506
Bug ID: 116506
Summary: [15 Regression] Destructors of temporary awaitables
are executed too early
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Keywords: c++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115390
Bug ID: 115390
Summary: Bogus -Wuninitialized warning when using CHARACTER(*)
argument in BIND(C) function
Product: gcc
Version: unknown
Status: UNCONFIRMED
Se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115851
Bug ID: 115851
Summary: ICE in gimplify_var_or_parm_decl with coroutine
suspension point inside statement expression
Product: gcc
Version: unknown
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116506
--- Comment #4 from Dan Klishch ---
SerenityOS's on-host tests seem to work fine with the patch attached here (this
was the original reproducer) and one from PR116914. Without the later, I hit
ICE similar to one outlined in the gimplify_var_or_p
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118809
Bug ID: 118809
Summary: Excessive memory usage with global
std::vector> in C++20 mode
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
13 matches
Mail list logo