From 2633c8d8f338f1e2b53d3757f3edf4179bfcc218 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Sun, 7 Aug 2022 13:51:43 -0700 Subject: [PATCH] Move testcase gcc.dg/tree-ssa/pr93776.c to gcc.c-torture/compile/pr93776.c 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.dg/tree-ssa => gcc.c-torture/compile}/pr93776.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename gcc/testsuite/{gcc.dg/tree-ssa => gcc.c-torture/compile}/pr93776.c (76%) diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr93776.c b/gcc/testsuite/gcc.c-torture/compile/pr93776.c similarity index 76% rename from gcc/testsuite/gcc.dg/tree-ssa/pr93776.c rename to 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; };