On Fri, Oct 09, 2020 at 10:11:29AM +0200, Aldy Hernandez wrote: > OK for trunk?
Sure. > > gcc/testsuite/ChangeLog: > > PR testsuite/97337 > * gcc.dg/pr97315-1.c: Moved to... > * g++.dg/opt/pr97315-1.C: ...here. > --- > gcc/testsuite/{gcc.dg/pr97315-1.c => g++.dg/opt/pr97315-1.C} | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > rename gcc/testsuite/{gcc.dg/pr97315-1.c => g++.dg/opt/pr97315-1.C} (95%) > > diff --git a/gcc/testsuite/gcc.dg/pr97315-1.c > b/gcc/testsuite/g++.dg/opt/pr97315-1.C > similarity index 95% > rename from gcc/testsuite/gcc.dg/pr97315-1.c > rename to gcc/testsuite/g++.dg/opt/pr97315-1.C > index 250e0e9ecbb..5a618d8e1e8 100644 > --- a/gcc/testsuite/gcc.dg/pr97315-1.c > +++ b/gcc/testsuite/g++.dg/opt/pr97315-1.C > @@ -1,5 +1,5 @@ > /* { dg-do compile } */ > -/* { dg-options "-O3" } */ > +/* { dg-options "-O3 -fno-exceptions" } */ > > typedef struct tree_node *tree; > enum tree_code { RECORD_TYPE, QUAL_UNION_TYPE }; > -- > 2.26.2 Jakub