https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91484
Bug ID: 91484 Summary: Error message: std::is_constructible with incomplete types. Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: asschool at yandex dot ru Target Milestone: --- https://godbolt.org/z/BGkt7T https://godbolt.org/z/EyDV9s GCC correctly(i suppose) reports UB in the first example, but not in the second one. Real-life example: https://godbolt.org/z/gSkmMW