Re: [PATCH 2/5] Implement generic range temporaries.

2022-06-01 Thread Aldy Hernandez via Gcc-patches
Final patch committed. tmp_range has been renamed to Value_Range. Value_Range::init() has been renamed to set_type() which is more obvious. Default constructor for Value_Range now points the vrange to the unsupported_range object, so we always have an object available. Re-tested on x86-64 Linux

Re: [PATCH 2/5] Implement generic range temporaries.

2022-05-31 Thread Andrew MacLeod via Gcc-patches
On 5/31/22 02:21, Aldy Hernandez wrote: On Mon, May 30, 2022 at 4:56 PM Andrew MacLeod wrote: On 5/30/22 09:27, Aldy Hernandez wrote: Now that we have generic ranges, we need a way to define generic local temporaries on the stack for intermediate calculations in the ranger and elsewhere. We n

Re: [PATCH 2/5] Implement generic range temporaries.

2022-05-30 Thread Aldy Hernandez via Gcc-patches
On Mon, May 30, 2022 at 4:56 PM Andrew MacLeod wrote: > > On 5/30/22 09:27, Aldy Hernandez wrote: > > Now that we have generic ranges, we need a way to define generic local > > temporaries on the stack for intermediate calculations in the ranger > > and elsewhere. We need temporaries analogous to

Re: [PATCH 2/5] Implement generic range temporaries.

2022-05-30 Thread Andrew MacLeod via Gcc-patches
On 5/30/22 09:27, Aldy Hernandez wrote: Now that we have generic ranges, we need a way to define generic local temporaries on the stack for intermediate calculations in the ranger and elsewhere. We need temporaries analogous to int_range_max, but for any of the supported types (currently just in