This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Drop TYPE_NEEDS_CONSTRUCTING checks from ipa-pure-const and tree-inline


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]