From e5050819808507cb8efb8ee36e835c6e1891bee9 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 15 Nov 2024 09:05:25 +0100 Subject: [PATCH] testsuite: Change 3 tests from c++14 to c++11 These tests are valid C++11, so we can run them in C++11 too. 2024-11-15 Jakub Jelinek * g++.dg/tree-ssa/pr116868.C: Change effective target from c++14 to c++11. * g++.dg/tree-ssa/pr96945.C: Likewise. * g++.dg/tree-ssa/pr110819.C: Likewise. --- gcc/testsuite/g++.dg/tree-ssa/pr110819.C | 2 +- gcc/testsuite/g++.dg/tree-ssa/pr116868.C | 2 +- gcc/testsuite/g++.dg/tree-ssa/pr96945.C | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/g++.dg/tree-ssa/pr110819.C b/gcc/testsuite/g++.dg/tree-ssa/pr110819.C index 04a074f1cb2..c0e8495ca54 100644 --- a/gcc/testsuite/g++.dg/tree-ssa/pr110819.C +++ b/gcc/testsuite/g++.dg/tree-ssa/pr110819.C @@ -1,4 +1,4 @@ -// { dg-do compile { target c++14 } } +// { dg-do compile { target c++11 } } // { dg-options "-O1 -fdump-tree-optimized" } #include diff --git a/gcc/testsuite/g++.dg/tree-ssa/pr116868.C b/gcc/testsuite/g++.dg/tree-ssa/pr116868.C index d89c7a3b09c..1794818f1f0 100644 --- a/gcc/testsuite/g++.dg/tree-ssa/pr116868.C +++ b/gcc/testsuite/g++.dg/tree-ssa/pr116868.C @@ -1,4 +1,4 @@ -// { dg-do compile { target c++14 } } +// { dg-do compile { target c++11 } } // { dg-options "-O2 -fdump-tree-optimized" } #include int sumVector() { diff --git a/gcc/testsuite/g++.dg/tree-ssa/pr96945.C b/gcc/testsuite/g++.dg/tree-ssa/pr96945.C index 63d55672e0c..9fb2cbc2dcc 100644 --- a/gcc/testsuite/g++.dg/tree-ssa/pr96945.C +++ b/gcc/testsuite/g++.dg/tree-ssa/pr96945.C @@ -1,4 +1,4 @@ -// { dg-do compile { target c++14 } } +// { dg-do compile { target c++11 } } // { dg-options "-O1 -fdump-tree-optimized" } #include struct c {