]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Support { target c++20 } in tests.
authorJason Merrill <jason@redhat.com>
Mon, 25 May 2020 22:04:39 +0000 (18:04 -0400)
committerJason Merrill <jason@redhat.com>
Mon, 25 May 2020 22:04:43 +0000 (18:04 -0400)
gcc/testsuite/ChangeLog
2020-05-12  Jason Merrill  <jason@redhat.com>

* lib/target-supports.exp (check_effective_target_c++20_only)
(check_effective_target_c++20): New.

gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp

index 58f7e2f7876222d650e280c9b115f2e78ce99be7..d72f22e59a36d8aac7505cd3893e3ca0c53fb47a 100644 (file)
@@ -1,3 +1,8 @@
+2020-05-25  Jason Merrill  <jason@redhat.com>
+
+       * lib/target-supports.exp (check_effective_target_c++20_only)
+       (check_effective_target_c++20): New.
+
 2020-05-24  Uroš Bizjak  <ubizjak@gmail.com>
 
        PR target/95255
index 13761491e6399e04335d7c00185842ebeb92320f..50c88695cbbd7494b5082620e6596492998a6540 100644 (file)
@@ -9134,6 +9134,14 @@ proc check_effective_target_c++2a { } {
     return [check_effective_target_c++2a_only]
 }
 
+proc check_effective_target_c++20_only { } {
+    return [check_effective_target_c++2a_only]
+}
+
+proc check_effective_target_c++20 { } {
+    return [check_effective_target_c++2a]
+}
+
 # Check for C++ Concepts support, i.e. -fconcepts flag.
 proc check_effective_target_concepts { } {
     if [check_effective_target_c++2a] {