From c7fd21762de653a19dabf837917a8ad6f9491bc0 Mon Sep 17 00:00:00 2001 From: Wilco Dijkstra Date: Mon, 14 Aug 2017 16:18:37 +0000 Subject: [PATCH] [AArch64] Fix longbranch test Fix longbranch test so it still generates long tbz branches. gcc/testsuite/ PR target/81643 * gcc.target/aarch64/long_branch_1.c: Improve testcase. From-SVN: r251094 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/aarch64/long_branch_1.c | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9e32c8dcad1..bfe2f7826ed 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-08-14 Wilco Dijkstra + + PR target/81643 + * gcc.target/aarch64/long_branch_1.c: Improve testcase. + 2017-08-14 Bill Schmidt PR target/79845 diff --git a/gcc/testsuite/gcc.target/aarch64/long_branch_1.c b/gcc/testsuite/gcc.target/aarch64/long_branch_1.c index 46f500d36a2..49d8b6a2278 100644 --- a/gcc/testsuite/gcc.target/aarch64/long_branch_1.c +++ b/gcc/testsuite/gcc.target/aarch64/long_branch_1.c @@ -54,10 +54,6 @@ test_and_branch (int selector, int addend, int cond) { start0: return sum - 1; -start1: - return sum + 1; -start2: - return sum; start3: return sum - 2; } @@ -65,6 +61,8 @@ start3: { switch (selector) { +start1: +start2: CASE_ENTRY128 (1) CASE_ENTRY64 (129) CASE_ENTRY16 (193) -- 2.30.2