This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Drop TYPE_NEEDS_CONSTRUCTING checks from ipa-pure-const and tree-inline
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Richard Biener <rguenther at suse dot de>
- Cc: Jan Hubicka <hubicka at ucw dot cz>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 17 Jun 2015 00:43:14 +0200
- Subject: Re: Drop TYPE_NEEDS_CONSTRUCTING checks from ipa-pure-const and tree-inline
- Authentication-results: sourceware.org; auth=none
- References: <20150614223000 dot GA36639 at kam dot mff dot cuni dot cz> <alpine dot LSU dot 2 dot 11 dot 1506161546470 dot 31770 at zhemvz dot fhfr dot qr>
> On Mon, 15 Jun 2015, Jan Hubicka wrote:
>
> > Hi,
> > this patch removes last two remaining uses of TYPE_NEEDS_CONSTRUCTING
> > in the back-end. I believe those are remainders from the time we did not
> > gimplify as much as we do now. Alias analysis machinery already skips
> > checks of TYPE_NEEDS_CONSTRUCTING and thus we need to mark tree correctly
> > as non-readonly if it is constructed.
>
> I think it is relevant only for globals anyway, no? Thus with
> unit-at-a-time and global constructors built we should even see it
> is not readonly.
Yes, I believe this is all lowered now.
>
> > Incrementally I would like to remove TYPE_NEEDS_CONSTRUCTING streaming
> > and clear it in free_lang_data.
> >
> > Bootstrapped/regtested ppc64le-linux, OK?
>
> Ok.
Thanks! One bit fewer to care about :)
Honza