aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-07-23 14:05:47 +0200
committerThomas Koenig <tkoenig@gcc.gnu.org>2024-07-28 19:05:55 +0200
commitf1ba0ee0f8eebf9c8e1006ef016c240df6d945fc (patch)
tree88958c38d88261e6f38e4b87d21e0400c7f9c8f2 /libcpp
parent2d397e3279ed9641f14a45dbf66feb8697253fd6 (diff)
downloadgcc-f1ba0ee0f8eebf9c8e1006ef016c240df6d945fc.zip
gcc-f1ba0ee0f8eebf9c8e1006ef016c240df6d945fc.tar.gz
gcc-f1ba0ee0f8eebf9c8e1006ef016c240df6d945fc.tar.bz2
Maintain complex constraint vector order during PTA solving
There's a FIXME comment in the PTA constraint solver that the vector of complex constraints can get unsorted which can lead to duplicate entries piling up during node unification. The following fixes this with the assumption that delayed updates to constraints are uncommon (otherwise re-sorting the whole vector would be more efficient). * tree-ssa-structalias.cc (constraint_equal): Take const reference to constraints. (constraint_vec_find): Similar. (solve_graph): Keep constraint vector sorted and verify sorting with checking.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions