]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: make ppc_cpu_supports_hw as effective target keyword [PR108728]
authorHaochen Gui <guihaoc@gcc.gnu.org>
Fri, 21 Apr 2023 08:35:07 +0000 (16:35 +0800)
committerHaochen Gui <guihaoc@gcc.gnu.org>
Fri, 21 Apr 2023 08:40:49 +0000 (16:40 +0800)
gcc/testsuite/
PR target/108728
* lib/target-supports.exp (is-effective-target-keyword): Add
ppc_cpu_supports_hw.

gcc/testsuite/lib/target-supports.exp

index 868e2c4f092e0df39896ba01981556c25d99b687..95cbb1afa161bbd2ef196275da14ef9764a7acd0 100644 (file)
@@ -9175,6 +9175,7 @@ proc is-effective-target-keyword { arg } {
          "named_sections" { return 1 }
          "gc_sections"    { return 1 }
          "cxa_atexit"     { return 1 }
+         "ppc_cpu_supports_hw" { return 1 }
          default          { return 0 }
        }
     }