This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR c++/5645 gcc warns that pure virtual class not explicitly initialized
Manuel López-Ibáñez wrote:
TYPE_HAS_CONSTRUCTOR (BINFO_TYPE (subobject)) is 1.
That seems wrong to me. That's being set in
add_implicitly_declared_members, but I don't see why; the macro is
supposed to indicate whether or not there are any user-declared
constructors. What happens if you remove the line that sets it for the
implicit copy ctor?
Jason