https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111771
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Did you miss that the implicit B constructor will just call A's constructor ?
pinskia at gcc dot gnu.org via Gcc-bugs Wed, 11 Oct 2023 10:17:16 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111771
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Did you miss that the implicit B constructor will just call A's constructor ?