[Bug c++/101361] Bogus -Wstringop-overread warning with -O3

2023-03-20 Thread mail+gnu at tzik dot jp via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101361 --- Comment #13 from Taiju Tsuiki --- I saw a similar inaccurate -Wstringop-overread warning with a smaller reproducer (attached). https://wandbox.org/permlink/EPjH0ZPoA4EWky0e Reproducing gcc was tip of trunk ( https://github.com/gcc-mirror/gc

[Bug c++/101361] Bogus -Wstringop-overread warning with -O3

2023-03-20 Thread mail+gnu at tzik dot jp via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101361 Taiju Tsuiki changed: What|Removed |Added CC||mail+gnu at tzik dot jp --- Comment #12

[Bug c++/98976] New: [coroutines] co_return in a switch statement doesn't make a generic lambda non-constexpr

2021-02-05 Thread mail+gnu at tzik dot jp via Gcc-bugs
IRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mail+gnu at tzik dot jp Target Milestone: --- In a repro case below, the lambda is wrongly handled as a constexpr and its co_return causes a compile error,

[Bug c++/98935] New: [coroutines] co_await on statement expressions causes ICE

2021-02-02 Thread mail+gnu at tzik dot jp via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mail+gnu at tzik dot jp Target Milestone: --- In a repro case below, `co_await ({auto x = future{}; x;});` causes an internal compiler error. https://wandbox.org/permlink/3jX83p34mVDfBgc1 The

[Bug c++/98691] New: co_await in a conditional operator evaluates an unreachable code

2021-01-14 Thread mail+gnu at tzik dot jp via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mail+gnu at tzik dot jp Target Milestone: --- In the repro case below, `foo()` in `co_return false ? co_await foo() : 1;` should not be evaluated, and we should not see "NOTREACHED&

[Bug c++/62052] function parameter has wrong address in lambda converted to pointer-to-function

2016-09-02 Thread mail+gnu at tzik dot jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62052 Taiju Tsuiki changed: What|Removed |Added CC||mail+gnu at tzik dot jp --- Comment #5