https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102943
--- Comment #24 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Andrew Macleod <amacl...@gcc.gnu.org>: https://gcc.gnu.org/g:98244c68e77cf75f93b66ee02df059f718c3fbc0 commit r12-4947-g98244c68e77cf75f93b66ee02df059f718c3fbc0 Author: Andrew MacLeod <amacl...@redhat.com> Date: Thu Nov 4 15:08:06 2021 -0400 Abstract ranger cache update list. Make it more efficient by removing the call to vec::contains. PR tree-optimization/102943 * gimple-range-cache.cc (class update_list): New. (update_list::add): Replace add_to_update. (update_list::pop): New. (ranger_cache::ranger_cache): Adjust. (ranger_cache::~ranger_cache): Adjust. (ranger_cache::add_to_update): Delete. (ranger_cache::propagate_cache): Adjust to new class. (ranger_cache::propagate_updated_value): Ditto. (ranger_cache::fill_block_cache): Ditto. * gimple-range-cache.h (class ranger_cache): Adjust to update class.