https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97162
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:371f0b990f2bbf638b44da27cf6fc5f86e0d6d4e commit r11-3385-g371f0b990f2bbf638b44da27cf6fc5f86e0d6d4e Author: Richard Biener <rguent...@suse.de> Date: Wed Sep 23 10:07:37 2020 +0200 middle-end/97162 - fix ICE when building gamess This appropriately guards the check for a hard register in compare_base_decls which otherwise ICEs when passed a CONST_DECL. 2020-09-23 Richard Biener <rguent...@suse.de> PR middle-end/97162 * alias.c (compare_base_decls): Use DECL_HARD_REGISTER and guard with VAR_P.