summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@marvell.com>2022-08-07 13:51:43 -0700
committerAndrew Pinski <apinski@marvell.com>2022-08-07 20:35:06 -0700
commit2633c8d8f338f1e2b53d3757f3edf4179bfcc218 (patch)
tree9262785b786c1824b93099a5a277c877222be4f7
parent37e8e63d3c65cb76d92773b280f6b9d33a60becf (diff)
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.
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/pr93776.c (renamed from gcc/testsuite/gcc.dg/tree-ssa/pr93776.c)4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr93776.c b/gcc/testsuite/gcc.c-torture/compile/pr93776.c
index c407a627718..3852736c040 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr93776.c
+++ b/gcc/testsuite/gcc.c-torture/compile/pr93776.c
@@ -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; };