diff options
author | Richard Biener <rguenther@suse.de> | 2020-09-23 10:07:37 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2020-09-23 10:09:40 +0200 |
commit | 371f0b990f2bbf638b44da27cf6fc5f86e0d6d4e (patch) | |
tree | 55362519fc12a9a50f2ab3751fd6d5bf5341d09d /gcc/tree-ssa-structalias.c | |
parent | 6b4e8bf88f1172ce8561f57b12fb81063b21a78f (diff) | |
download | gcc-371f0b990f2bbf638b44da27cf6fc5f86e0d6d4e.zip gcc-371f0b990f2bbf638b44da27cf6fc5f86e0d6d4e.tar.gz gcc-371f0b990f2bbf638b44da27cf6fc5f86e0d6d4e.tar.bz2 |
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 <rguenther@suse.de>
PR middle-end/97162
* alias.c (compare_base_decls): Use DECL_HARD_REGISTER
and guard with VAR_P.
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
0 files changed, 0 insertions, 0 deletions