Re: [pushed] c++: reduce unnecessary tree_common

2024-11-12 Thread Jason Merrill
On 11/12/24 2:55 AM, Richard Biener wrote: On Mon, Nov 11, 2024 at 5:33 PM Jason Merrill wrote: Don't you need to adjust cp_common_init_ts () as well for this? Oddly enough PTRMEM_CST is already TS_TYPED there and others are not adjusted at all. Right, this patch fixed the type definitions t

Re: [pushed] c++: reduce unnecessary tree_common

2024-11-11 Thread Richard Biener
On Mon, Nov 11, 2024 at 5:33 PM Jason Merrill wrote: > > Tested x86_64-pc-linux-gnu, applying to trunk. Don't you need to adjust cp_common_init_ts () as well for this? Oddly enough PTRMEM_CST is already TS_TYPED there and others are not adjusted at all. Richard. > -- 8< -- > > Lewis' r15-5067

[pushed] c++: reduce unnecessary tree_common

2024-11-11 Thread Jason Merrill
Tested x86_64-pc-linux-gnu, applying to trunk. -- 8< -- Lewis' r15-5067 fixing the marking of TRAIT_EXPR led me to compare some other front-end type definitions to their marking in cp_common_init_ts; it seems we can change tree_common to something smaller in several cases, to match how they are m