aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2019-09-18 09:44:06 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2019-09-18 09:44:06 +0000
commit01b57ebf58b8cc0d16db827d1d9aa5f10da23cce (patch)
tree7475580dc8584bff3b6f8673bc7a29a53311e250 /gcc/varasm.c
parent22b6299199da4efd3944cdaabca1d095d19ff901 (diff)
downloadgcc-01b57ebf58b8cc0d16db827d1d9aa5f10da23cce.zip
gcc-01b57ebf58b8cc0d16db827d1d9aa5f10da23cce.tar.gz
gcc-01b57ebf58b8cc0d16db827d1d9aa5f10da23cce.tar.bz2
Make get_value_for_expr check for INTEGER_CSTs
CONSTANT lattice values are symbolic constants rather than compile-time constants, so among other things can be POLY_INT_CSTs. This patch fixes a case in which we assumed all CONSTANTs were either ADDR_EXPRs or INTEGER_CSTs. This is tested by later SVE patches. 2019-09-18 Richard Sandiford <richard.sandiford@arm.com> gcc/ * tree-ssa-ccp.c (get_value_for_expr): Check whether CONSTANTs are INTEGER_CSTs. From-SVN: r275871
Diffstat (limited to 'gcc/varasm.c')
0 files changed, 0 insertions, 0 deletions