Move testcase gcc.dg/tree-ssa/pr93776.c to gcc.c-torture/compile/pr93776.c
authorAndrew Pinski <apinski@marvell.com>
Sun, 7 Aug 2022 20:51:43 +0000 (13:51 -0700)
committerAndrew Pinski <apinski@marvell.com>
Mon, 8 Aug 2022 03:35:06 +0000 (20:35 -0700)
Since this testcase is not exactly SSA specific and it would
be a good idea to compile this at more than just at -O1, moving
it to gcc.c-torture/compile would do that.

Committed as obvious after a test on x86_64-linux-gnu.

gcc/testsuite/ChangeLog:

* gcc.dg/tree-ssa/pr93776.c: Moved to...
* gcc.c-torture/compile/pr93776.c: ...here.

gcc/testsuite/gcc.c-torture/compile/pr93776.c [moved from gcc/testsuite/gcc.dg/tree-ssa/pr93776.c with 76% similarity]

similarity index 76%
rename from gcc/testsuite/gcc.dg/tree-ssa/pr93776.c
rename to gcc/testsuite/gcc.c-torture/compile/pr93776.c
index c407a62..3852736 100644 (file)
@@ -1,5 +1,5 @@
-/* { dg-do compile } */
-/* { dg-options "-O1" } */
+/* This used to ICE in SRA as SRA got
+   confused by the zero signed assigment. */
 
 struct empty {};
 struct s { int i; };