diff mbox

[embedded-5-branch,2/2] Backporting fix for PR-67948.

Message ID 564AF4A7.5040900@arm.com
State New
Headers show

Commit Message

Andre Vieira (lists) Nov. 17, 2015, 9:34 a.m. UTC
This patch backports the fix for PR-67948 from trunk to the 
embedded-5-branch.

The original patch is at:
https://gcc.gnu.org/ml/gcc-patches/2015-10/msg02193.html

Tested for Cortex-M3.

Is this OK to commit?

Thanks,
Andre

gcc/testsuite/ChangeLog
2015-10-27  Andre Vieira <andre.simoesdiasvieira@arm.com>
Backport from mainline:
   2015-10-15  Andre Vieira  <andre.simoesdiasvieira@arm.com>
            PR testsuite/67948
            * gcc.target/arm/xor-and.c: check for eor instead of orr.
diff mbox

Patch

From 89922547118e716b41ddf6edefb274322193f25c Mon Sep 17 00:00:00 2001
From: Andre Simoes Dias Vieira <andsim01@arm.com>
Date: Thu, 15 Oct 2015 12:48:26 +0100
Subject: [PATCH] Fix for xor-and.c test

---
 gcc/testsuite/gcc.target/arm/xor-and.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/arm/xor-and.c b/gcc/testsuite/gcc.target/arm/xor-and.c
index 53dff85f8f780fb99a93bbcc24180a3d0d5d3be9..3715530cd7bf9ad8abb24cb21cd51ae3802079e8 100644
--- a/gcc/testsuite/gcc.target/arm/xor-and.c
+++ b/gcc/testsuite/gcc.target/arm/xor-and.c
@@ -10,6 +10,6 @@  unsigned short foo (unsigned short x)
   return x;
 }
 
-/* { dg-final { scan-assembler "orr" } } */
+/* { dg-final { scan-assembler "eor" } } */
 /* { dg-final { scan-assembler-not "mvn" } } */
 /* { dg-final { scan-assembler-not "uxth" } } */
-- 
1.9.1