This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r273634 - in /branches/gcc-9-branch/gcc: Change...
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 20 Jul 2019 18:50:00 -0000
- Subject: r273634 - in /branches/gcc-9-branch/gcc: Change...
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