[Bug c++/83769] New: Statement expression inside lambda defined and evaluated in global scope fails to compile with optimizations

2018-01-10 Thread giel+gcc at mortis dot eu
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: giel+gcc at mortis dot eu Target Milestone: --- Created attachment 43089 --> https://gcc.gnu.org/bugzilla/attachment.

[Bug c++/118014] New: address computation for coroutine frame differs between BasePromise and MostDerivedPromise

2024-12-12 Thread giel+gcc at mortis dot eu via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: giel+gcc at mortis dot eu Target Milestone: --- Created attachment 59845 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59845&action=edit repro

[Bug c++/118014] address computation for coroutine frame differs between BasePromise and MostDerivedPromise

2024-12-12 Thread giel+gcc at mortis dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118014 --- Comment #1 from Giel --- While different from PR104177 I believe that Arsen's patch for that would also solve this bug: [PATCH 2/2] c++/coroutines: handle (new-)extended alignment [PR104177] (https://gcc.gnu.org/pipermail/gcc-patches/2024-Se

[Bug c++/118107] New: false warning: "${inactive union member} may be used uninitialized" (in constructor call activating another, empty struct member, as union member)

2024-12-18 Thread giel+gcc at mortis dot eu via Gcc-bugs
ion member) Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: giel+gcc at mortis dot eu Target Milestone: --- Created attach

[Bug c++/116952] Error on lambda NTTP argument to type constraint in template parameter list of generic lambda

2025-01-09 Thread giel+gcc at mortis dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116952 Giel changed: What|Removed |Added CC||giel+gcc at mortis dot eu --- Comment #3 from

[Bug c++/116952] Error on lambda NTTP argument to type constraint in template parameter list of generic lambda

2025-01-09 Thread giel+gcc at mortis dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116952 --- Comment #4 from Giel --- Also taking `decltype()` to convert it to a type-param doesn't help (Clang still accepts it): ``` template concept A = F()(); template T> constexpr auto fun(T) {} ```