The constructor for an empty class can't do the -flifetime-dse clobber
because when the class is used as a base it might be assigned the same
offset as a real base, so the clobber would mess with real data.
Tested x86_64-pc-linux-gnu, applying to trunk.
commit e1a5f038350d1881153d8f65359bd883f
On Wed, Mar 16, 2016 at 02:47:09PM -0400, Jason Merrill wrote:
> The constructor for an empty class can't do the -flifetime-dse clobber
> because when the class is used as a base it might be assigned the same
> offset as a real base, so the clobber would mess with real data.
Isn't this needed also