[Bug c++/98118] [coroutines] ICE with coroutine with parameter with non-trivial destructor

2020-12-03 Thread xzlsmc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98118 --- Comment #2 from xzlsmc --- Created attachment 49672 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49672=edit compiler output

[Bug c++/98118] [coroutines] ICE with coroutine with parameter with non-trivial destructor

2020-12-03 Thread xzlsmc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98118 --- Comment #1 from xzlsmc --- Created attachment 49671 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49671=edit ii file

[Bug c++/98118] New: [coroutines] ICE with coroutine with parameter with non-trivial destructor

2020-12-03 Thread xzlsmc at gmail dot com via Gcc-bugs
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: xzlsmc at gmail dot com Target Milestone: --- Created attachment 49670 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49670=edit source See attached source and ii fi

[Bug c++/95127] Self-calling lambda with auto return type gives misleading error message

2020-05-14 Thread xzlsmc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95127 xzlsmc changed: What|Removed |Added Attachment #48532|0 |1 is obsolete|

[Bug c++/95127] New: Self-calling lambda with auto return type gives misleading error message

2020-05-14 Thread xzlsmc at gmail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: xzlsmc at gmail dot com Target Milestone: --- $ cat bug.cc int main() { auto f = [](const auto , auto x) { return g(g, x); }; f(f, 0); } $ gcc -std=c++14 bug.cc bug.cc