r273634 - in /branches/gcc-9-branch/gcc: Change...

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Sat Jul 20 18:50:00 GMT 2019


Author: rsandifo
Date: Sat Jul 20 18:49:59 2019
New Revision: 273634

URL: https://gcc.gnu.org/viewcvs?rev=273634&root=gcc&view=rev
Log:
Fix folding of vector EQ/NE

For vector1 != vector2, we returned false if any elements were equal,
rather than if all elements were equal.

2019-07-20  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
	Backport from mainline
	2019-07-10  Richard Sandiford  <richard.sandiford@arm.com>

	* fold-const.c (fold_relational_const): Fix folding of
	vector-to-scalar NE_EXPRs.
	(test_vector_folding): Add more tests.

Modified:
    branches/gcc-9-branch/gcc/ChangeLog
    branches/gcc-9-branch/gcc/fold-const.c



More information about the Gcc-cvs mailing list