Hi! On Thu, 22 Oct 2015 04:09:26 +0200, Jan Hubicka <hubi...@ucw.cz> wrote: > this patch adds matching of non-constant CONSTRUCTOR expressions into > operand_equal_p. [...]
> --- testsuite/gcc.dg/tree-ssa/operand-equal-2.c (revision 0) > +++ testsuite/gcc.dg/tree-ssa/operand-equal-2.c (revision 0) > @@ -0,0 +1,12 @@ > +/* { dg-do compile } */ > +/* { dg-options "-O2 -fdump-tree-forwprop1" } */ > + > +typedef char __attribute__ ((vector_size (4))) v4qi; > + > +v4qi v; > +void ret(char a) > +{ > + v4qi c={a,a,a,a},d={a,a,a,a}; > + v = (c!=d); > +} > +/* { dg-final { scan-tree-dump "v = . 0, 0, 0, 0 ." "forwprop1"} } */ You checked that in with -fdump-tree-forwprop1 but "forwprop2" instead of "forwprop1" in the dg-final, so we get: PASS: gcc.dg/tree-ssa/operand-equal-2.c (test for excess errors) UNRESOLVED: gcc.dg/tree-ssa/operand-equal-2.c scan-tree-dump forwprop2 "v = . 0, 0, 0, 0 ." Grüße Thomas
signature.asc
Description: PGP signature