public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [COMMITTED][AArch64] PR81643: Fix longbranch test
@ 2017-08-14 17:12 Wilco Dijkstra
  0 siblings, 0 replies; only message in thread
From: Wilco Dijkstra @ 2017-08-14 17:12 UTC (permalink / raw)
  To: GCC Patches; +Cc: nd

Fix longbranch test so it still generates long tbz branches.

Committed as obvious.

ChangeLog:
2017-08-14  Wilco Dijkstra  <wdijkstr@arm.com>

    gcc/testsuite/
	PR target/81643
	* gcc.target/aarch64/long_branch_1.c: Improve testcase.
--

diff --git a/gcc/testsuite/gcc.target/aarch64/long_branch_1.c b/gcc/testsuite/gcc.target/aarch64/long_branch_1.c
index 46f500d36a2d9ff04f71ae0bcc7c47e3d0b92c1b..49d8b6a2278ad3d5b21d0ac1f523492c03982176 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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-08-14 16:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-14 17:12 [COMMITTED][AArch64] PR81643: Fix longbranch test Wilco Dijkstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).