]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Move pr97315-1.c test to g++.dg/opt/.
authorAldy Hernandez <aldyh@redhat.com>
Fri, 9 Oct 2020 07:31:47 +0000 (09:31 +0200)
committerAldy Hernandez <aldyh@redhat.com>
Fri, 9 Oct 2020 08:15:54 +0000 (10:15 +0200)
gcc/testsuite/ChangeLog:

PR testsuite/97337
* gcc.dg/pr97315-1.c: Moved to...
* g++.dg/opt/pr97315-1.C: ...here.

gcc/testsuite/g++.dg/opt/pr97315-1.C [moved from gcc/testsuite/gcc.dg/pr97315-1.c with 95% similarity]

similarity index 95%
rename from gcc/testsuite/gcc.dg/pr97315-1.c
rename to gcc/testsuite/g++.dg/opt/pr97315-1.C
index 250e0e9ecbb121cfc62ab470c59c4f62ad0838b2..5a618d8e1e8c1fa9d114a0496beee4eaaeab9bf8 100644 (file)
@@ -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 };