]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: fix g++.dg/tree-ssa/pr58483.C
authorMarek Polacek <polacek@redhat.com>
Fri, 15 Nov 2024 05:02:44 +0000 (00:02 -0500)
committerMarek Polacek <polacek@redhat.com>
Fri, 15 Nov 2024 05:02:44 +0000 (00:02 -0500)
This test mistakenly used two dg-do compile.  Since it passes
in C++11 as well, we can run it in C++11 and up.

gcc/testsuite/ChangeLog:

* g++.dg/tree-ssa/pr58483.C: Run in C++11 and up.

gcc/testsuite/g++.dg/tree-ssa/pr58483.C

index c99664b57577871baa06991bd893b5ce558ee79d..c0e8495ca545b203e659083b2d85057bc45e9fc3 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-do compile { target c++14 } }
-// { dg-do compile }
+// { dg-do compile { target c++11 } }
 // { dg-options "-O1 -fdump-tree-optimized" }
 #include<vector>