[Bug c++/95292] New: internal compiler error

2020-05-23 Thread tilin97 at yandex dot ru
: unassigned at gcc dot gnu.org Reporter: tilin97 at yandex dot ru Target Milestone: --- the following code causes an internal compiler error on versions from 7.1 onwards #include class A { public: bool a; static inline std::function foo = std::function([] (A&am

[Bug c++/94310] New: using constructor inheritance breaks the code

2020-03-24 Thread tilin97 at yandex dot ru
++ Assignee: unassigned at gcc dot gnu.org Reporter: tilin97 at yandex dot ru Target Milestone: --- The following code is compiled without errors template struct B { }; template struct A : public B... { using B::operator=...; using B::B...; }; int main() {} But when