This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][C++] Kill expr_size langhook
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 1 Sep 2009 10:42:31 +0200 (CEST)
- Subject: Re: [PATCH][C++] Kill expr_size langhook
- References: <alpine.LNX.2.00.0908291546090.28140@zhemvz.fhfr.qr>
On Sat, 29 Aug 2009, Richard Guenther wrote:
>
> This kills the expr_size langhook. With the recent C++ FE change
> there isn't any language-specific semantics left that warrant it.
> In particular the C++ FE is already careful enough to use memcpy
> whenever an assignment may cover padding that is used by derived
> classes.
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu, ok for trunk?
Approved by Mike on IRC, applied as r151261.
Richard.