Hi, On Mon, Oct 26 2026, Andrew MacLeod wrote: > == and != should produce a points-away if the result is not equal and > one object has a points-to field. > Also adjust ipa_record_return_value_range_1 to bail if a points-away > field is present. > > A testcase is also included. > > Bootstrapped on x86_64-pc-linux-gnu with no regressions. OK? > > Andrew > From e460e2f7bd736ea9f19065c9fd0e6c2dffb20792 Mon Sep 17 00:00:00 2001 > From: Andrew MacLeod <[email protected]> > Date: Tue, 13 Oct 2026 16:31:45 -0400 > Subject: [PATCH 4/9] Handle points_away in prange::operator equal and > not_equal. > > == and != should produce a points-away if the result is not equal and one > object has a points-to field. > Also adjust ipa_record_return_value_range_1 to bail if a points-away > field is present. > > gcc/ > * ipa-prop.cc (ipa_record_return_value_range_1): Also check for > points-away.
FWIW, the ipa-prop.cc change looks good. Martin
