r256023 - in /trunk/gcc: ChangeLog emit-rtl.c s...

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Thu Dec 28 20:40:00 GMT 2017


Author: rsandifo
Date: Thu Dec 28 20:40:20 2017
New Revision: 256023

URL: https://gcc.gnu.org/viewcvs?rev=256023&root=gcc&view=rev
Log:
Use valid_for_const_vector_p instead of CONSTANT_P

This patch makes the VEC_SERIES code use valid_for_const_vector_p
instead of CONSTANT_P, to match what we already do for VEC_DUPLICATE.
This showed up as a failure in gcc.c-torture/execute/pr28982b.c for -m32
on x86_64-linux-gnu after later patches.

2017-12-28  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/
	* emit-rtl.c (gen_const_vec_series): Use valid_for_const_vector_p
	instead of CONSTANT_P.
	(gen_vec_series): Likewise.
	* simplify-rtx.c (simplify_binary_operation_1): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/emit-rtl.c
    trunk/gcc/simplify-rtx.c



More information about the Gcc-cvs mailing list