https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70147

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 37965
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37965&action=edit
gcc6-pr70147-2.patch

As the compromise I meant this instead (incremental patch).
Though, in that case the -flifetime-dse=2 clobbers are also wrong in the
subobject ctors, because they should not overlap the vtable pointers of the
virtual bases if we rely on them from the caller, otherwise when those are
inlined could be DSEd, even when we actually rely on them.

Reply via email to