]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: arm: fix arm_movt cut&pasto
authorAlexandre Oliva <oliva@adacore.com>
Sun, 19 Nov 2023 05:41:48 +0000 (02:41 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Mon, 20 Nov 2023 08:16:36 +0000 (05:16 -0300)
I got spurious fails of tests that required arm_thumb1_movt_ok on a
target cpu that did not support movt.  Looking into it, I found the
arm_movt property to have been cut&pasted into other procs that
checked for different properties.  They shouldn't share the same test
results cache entry, so I'm changing their prop names.  Or rather its
prop name, because the other occurrence was already fixed recently.

for  gcc/testsuite/ChangeLog

* lib/target-supports.exp
(check_effective_target_arm_thumb1_cbz_ok): Fix prop name
cut&pasto.

gcc/testsuite/lib/target-supports.exp

index 7412ac95623f307fc2c2b0ed48611c915d7fc2cc..4b647d6a88e1497e19025e3498346f8ff43b8861 100644 (file)
@@ -5592,7 +5592,7 @@ proc check_effective_target_arm_thumb1_movt_ok {} {
 
 proc check_effective_target_arm_thumb1_cbz_ok {} {
     if [check_effective_target_arm_thumb1_ok] {
-       return [check_no_compiler_messages arm_movt object {
+       return [check_no_compiler_messages arm_cbz object {
            int
            foo (void)
            {