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: Stream TYPE_FINAL_P and DECL_FINAL_P to LTO


> > +         v = iterative_hash_host_wide_int (TYPE_TRANSPARENT_AGGR (t), v);
> > +         v = iterative_hash_host_wide_int (TYPE_FINAL_P (t), v);
> 
> please use | (TYPE_FINAL_P (t) << 1) to speed this up like in other cases.

Thank you, I missed that TYPE_TRANSPARENT_AGGR is also flag.
I will update the patch also adding the cxx_constructor/cxx_destructor flags
that landed mainline in meantime and commit. (those go basically whenever
DECL_FINAL_P goes)

Honza


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