From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id 6FD593858281; Sun, 19 Nov 2023 08:11:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6FD593858281 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700381473; bh=6KtdK4P//gEwTm8W6/DejM9zDpXjpDI2M884F+hgfxQ=; h=From:To:Subject:Date:From; b=WmLWRP0bNgz5W0CO1wX6qR63mZAKAHPtAlp+li394eC6ywl0biJjP/OqDyxJ8Vyj3 OQjq8z2Cpmdgr4Cpm8bhrlrSNGIjFkBN01mkWPycoHFon2AFSnrVskeGrYxetduCtv pMnf1/+OUa2Ondyp0l7Lworx6c/ziI18Eju0R+ro= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Alexandre Oliva To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/aoliva/heads/testme)] testsuite: arm: fix arm_movt cut&pasto X-Act-Checkin: gcc X-Git-Author: Alexandre Oliva X-Git-Refname: refs/users/aoliva/heads/testme X-Git-Oldrev: 0659807f36ab1bbe9998364f0e0eddffc81abacc X-Git-Newrev: ff0f1d111893309521e776866497bf8a4de67dfe Message-Id: <20231119081113.6FD593858281@sourceware.org> Date: Sun, 19 Nov 2023 08:11:13 +0000 (GMT) List-Id: https://gcc.gnu.org/g:ff0f1d111893309521e776866497bf8a4de67dfe commit ff0f1d111893309521e776866497bf8a4de67dfe Author: Alexandre Oliva Date: Sun Nov 19 02:41:48 2023 -0300 testsuite: arm: fix arm_movt cut&pasto 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 various procs that checked for different properties. They shouldn't share the same test results cache entry, so I'm changing their prop names. for gcc/testsuite/ChangeLog * lib/target-supports.exp (check_effective_target_arm_thumb1_cbz_ok): Fix prop name cut&pasto. (check_effective_target_arm_arch_v6t2_hw_ok): Likewise. Diff: --- gcc/testsuite/lib/target-supports.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 240a3815d38..e3519207d0e 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -5610,7 +5610,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) { @@ -5627,7 +5627,7 @@ proc check_effective_target_arm_thumb1_cbz_ok {} { proc check_effective_target_arm_arch_v6t2_hw_ok {} { if [check_effective_target_arm_thumb1_ok] { - return [check_no_compiler_messages arm_movt object { + return [check_no_compiler_messages arm_v6t2_hw object { int main (void) {