https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123526
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Better reduced testcase:
struct A {
[[__gnu__::__gnu_inline__]]
constexpr inline explicit A (int) {}
};
struct B : A {
using A::A;
};
int
main ()
{
throw B (42);
}
Here g++ makes the inherited ctor also gnu_inline, which is a bad idea.
