See the PR. Note well, there is no effect on the emitted
assembly code; the failure is in this pass but fixed in another.
Thus it does not pass the work/benefit threshold for adding a
separate test-case from the code in the PR, just for xfailing
this one; and for every xfail there should be a PR.
PR middle-end/53535
* gcc.dg/pr46647.c: xfail for cris-* and crisv32-*.
Index: gcc/testsuite/gcc.dg/pr46647.c
===================================================================
--- gcc/testsuite/gcc.dg/pr46647.c (revision 188313)
+++ gcc/testsuite/gcc.dg/pr46647.c (working copy)
@@ -25,5 +25,6 @@ func3 (void)
return 0;
}
-/* { dg-final { scan-tree-dump-not "memset" "optimized" } } */
+/* The xfail for cris-* and crisv32-* is due to PR53535. */
+/* { dg-final { scan-tree-dump-not "memset" "optimized" { xfail cris-*-*
crisv32-*-* } } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
brgds, H-P