Hi,

This patch fixes testcase thumb1-far-jump-2.c to confirm to newer compilation
defaults.

Is patch ok?

gcc/testsuite

2015-05-15  Alex Velenko  <alex.vele...@arm.com>

        * gcc.target/arm/thumb1-far-jump-2.c (r4): Added int in definition.
---
 gcc/testsuite/gcc.target/arm/thumb1-far-jump-2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/arm/thumb1-far-jump-2.c 
b/gcc/testsuite/gcc.target/arm/thumb1-far-jump-2.c
index c6878f8..78fcafa 100644
--- a/gcc/testsuite/gcc.target/arm/thumb1-far-jump-2.c
+++ b/gcc/testsuite/gcc.target/arm/thumb1-far-jump-2.c
@@ -5,7 +5,7 @@
 /* { dg-options "-Os" } */
 /* { dg-skip-if "" { ! { arm_thumb1 } } } */
 
-volatile register r4 asm("r4");
+volatile register int r4 asm ("r4");
 void f3(int i)
 {
 #define GO(n) \
-- 
1.8.1.2

Reply via email to