[Bug c++/112544] New: Lambda returned from a factory function is not trivially copyable in some (weird) cases

2023-11-15 Thread philodej at gmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: philodej at gmail dot com Target Milestone: --- See a minimal example in compiler explorer (including the comments): - https://godbolt.org/z/b3WdfrKMY The

[Bug c++/88580] New: Parameter pack expansion fails (variadic constructor template inside a variadic class template)

2018-12-22 Thread philodej at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: philodej at gmail dot com Target Milestone: --- The following simple code snippet compiles as expected on clang, msvc and icc, but fails to compile on

[Bug c++/68184] New: Exception from a virtual function does not get caught

2015-11-02 Thread philodej at gmail dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: philodej at gmail dot com Target Milestone: --- Hi! The following code terminates on g++ 5.2.1, 4.9.3 and 4.8.4: namespace { struct IFoo { virtual void foo() = 0; }; struct IBar { virtual void bar() = 0; }; struct