r275871 - in /trunk/gcc: ChangeLog tree-ssa-ccp.c
rsandifo@gcc.gnu.org
rsandifo@gcc.gnu.org
Wed Sep 18 09:44:00 GMT 2019
Author: rsandifo
Date: Wed Sep 18 09:44:06 2019
New Revision: 275871
URL: https://gcc.gnu.org/viewcvs?rev=275871&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-ssa-ccp.c
More information about the Gcc-cvs
mailing list