This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix PR23477
- From: Ian Lance Taylor <ian at airs dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 30 Aug 2005 15:11:36 -0700
- Subject: Re: Fix PR23477
- References: <Pine.LNX.4.58.0508301513000.21309@wotan.suse.de>
Richard Guenther <rguenther@suse.de> writes:
> by special casing all-zero constructor.
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu.
>
> Ok for mainline?
>
> Thanks,
> Richard.
>
> :ADDPATCH middle-end:
>
>
> 2005-08-30 Richard Guenther <rguenther@suse.de>
>
> PR middle-end/23477
> * expr.c (all_zeros_p): New function.
> (expand_expr_real_1): Handle the case of an all-zero
> non-addressable constructor separate.
This special case makes sense to me. This is OK with the change to
use clear_storage, assuming that passes bootstrap and testing.
In the ChangeLog entry, it should say "separately" instead of
"seperate". Or you could say "specially".
Thanks.
:REVIEWMAIL:
Ian