https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104498
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Andre Simoes Dias Vieira <avie...@gcc.gnu.org>: https://gcc.gnu.org/g:d34cdec56728ddbdfacabd9f80598b17d1c6ff54 commit r12-7310-gd34cdec56728ddbdfacabd9f80598b17d1c6ff54 Author: Andre Vieira <andre.simoesdiasvie...@arm.com> Date: Mon Feb 21 09:41:53 2022 +0000 rtl-optimization/104498: Fix comparing symbol reference gcc/ChangeLog: PR rtl-optimization/104498 * alias.cc (compare_base_symbol_refs): Correct distance computation when swapping x and y.