[Bug c++/95477] New: [coroutines] coroutine result object not properly freed

2020-06-02 Thread natattak at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: natattak at gmail dot com Target Milestone: --- In some cases, the result object of a coroutine is not properly destroyed after the coroutine finishes execution. Consider the following example

[Bug c++/96533] ICE with three-way comparison when error occurs in templated operator< overload

2020-08-09 Thread natattak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96533 Nathaniel Shead changed: What|Removed |Added Summary|ICE with -Wunused-parameter |ICE with three-way

[Bug c++/96533] ICE with -Wunused-parameter when using three-way comparison

2020-08-09 Thread natattak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96533 --- Comment #1 from Nathaniel Shead --- On further investigation, I suspect this is more general than just `-Wunused-parameter`; the error looks to be caused by any error occurring within `operator<`. For example, #include #include

[Bug c++/96533] New: ICE with -Wunused-parameter when using three-way comparison

2020-08-07 Thread natattak at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: natattak at gmail dot com Target Milestone: --- Minimal example: #include #include struct S { // making it a member fixes the issue friend auto operator<=>(S, S) = d

[Bug c++/97566] New: [[no_unique_address]] causes miscompiles when mixed with EBO in constexpr context

2020-10-24 Thread natattak at gmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: natattak at gmail dot com Target Milestone: --- Example: (https://godbolt.org/z/Y5q5br) #include #include // error disappears if E doesn't inherit from B