From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id 9ADD7385842B; Sun, 19 Nov 2023 06:31:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9ADD7385842B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700375486; bh=4bq157mOICXeAoyoiJlWOFcXVtni2RvS1oO/YmildgQ=; h=From:To:Subject:Date:From; b=ZPzrC5f5o4UHjyqR0OAIOPjRJ2fdQcpw3z528qZ1zD8fP1U6pv4RaAhGPkgOUU8T3 B9kq3Jku+tQT3b2IHyvKIkBl3HYt3cW1w8Ami13JvZweoEKv/9oNuk4wb8Gmg0SuQ/ Ax5nG5StHuP4mK5jkoOcCok5LzF0B+T5JIyydKOw= 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: 8af7267810bf90b2f42c6bdcd681777a7a0f4618 X-Git-Newrev: 47c3446bd87091babe7a03e61f5857a846ea61b9 Message-Id: <20231119063126.9ADD7385842B@sourceware.org> Date: Sun, 19 Nov 2023 06:31:26 +0000 (GMT) List-Id: https://gcc.gnu.org/g:47c3446bd87091babe7a03e61f5857a846ea61b9 commit 47c3446bd87091babe7a03e61f5857a846ea61b9 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) {