On Thu, Dec 05, 2019 at 10:26:34AM +0000, Richard Sandiford wrote: > 2019-12-05 Richard Sandiford <richard.sandif...@arm.com> > > gcc/ > PR middle-end/92768 > * tree-core.h (OEP_BITWISE): New flag. > * fold-const.c (operand_compare::operand_equal_p): Handle it. > * tree-vector-builder.h (tree_vector_builder::equal_p): Pass it. > > gcc/testsuite/ > PR middle-end/92768 > * gcc.dg/pr92768.c: New test.
This test FAILs on i686-linux: FAIL: gcc.dg/pr92768.c (test for excess errors) Excess errors: /home/jakub/src/gcc/gcc/testsuite/gcc.dg/pr92768.c:4:1: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi] Similarly to other tests, I've added -w -Wno-psabi to disable such warnings, different targets have different and not all have it under -Wno-psabi. Tested on x86_64-linux and i686-linux, committed to trunk as obvious: 2019-12-06 Jakub Jelinek <ja...@redhat.com> PR tree-optimization/92768 * gcc.dg/pr92768.c: Add -w -Wno-psabi to dg-options. --- gcc/testsuite/gcc.dg/pr92768.c.jj 2019-12-06 00:40:41.033681697 +0100 +++ gcc/testsuite/gcc.dg/pr92768.c 2019-12-06 00:51:57.503480293 +0100 @@ -1,4 +1,5 @@ -/* { dg-options "-O2 -fno-signed-zeros -fdump-tree-optimized" } */ +/* PR tree-optimization/92768 */ +/* { dg-options "-O2 -fno-signed-zeros -fdump-tree-optimized -w -Wno-psabi" } */ typedef float v4sf __attribute__((vector_size(16))); v4sf f () { return (v4sf) { 0.0, -0.0, 0.0, -0.0 }; } Jakub