Hi,

On Wed, Nov 04 2026, Richard Biener wrote:
> On Tue, Nov 3, 2026 at 7:36 PM Andrew MacLeod <[email protected]> wrote:

[...]

>> diff --git a/gcc/tree-ssanames.cc b/gcc/tree-ssanames.cc
>> index 18678e41fca..b24cdc878ca 100644
>> --- a/gcc/tree-ssanames.cc
>> +++ b/gcc/tree-ssanames.cc
>> @@ -956,6 +956,28 @@ duplicate_ssa_name_ptr_info (tree dest, tree src)
>>      duplicate_ssa_name_ptr_info (dest, pt);
>>  }
>>
>> +
>> +/* Remove any function-local points-to references from R, preserving its
>> +   bounds and bitmask and any invariant target.  Return TRUE if any points 
>> to
>> +   info was removed.  */
>
> So this doesn't do anything to pt_solution?

It calls pr.set_pt_unknown () so I'd say it does but maybe I'm also
getting the terminology wrong.

> IMO the function is misnamed
> then?  Why is it not a member function of prange or somewhere in 
> value-range.cc?

OK, I agree with the above, especially regarding the placement of the
function .  Nevertheless, once the name and placement of the helper
function is resolved, the ipa-prop changes are OK.

Thanks,

Martin

Reply via email to