Re: [PATCH][ARM] testsuite, use arm_eabi #2

2014-11-10 Thread Mike Stump
[ sorry for dup, if any ]

On Nov 10, 2014, at 1:12 PM, Andreas Tobler  wrote:
> As I was told, arm*-*-symbianelf* should be EABI so we can use arm_eabi for 
> all instead of listing each OS.
> 
> Ok for trunk?

Ok.

Re: [PATCH][ARM] testsuite, use arm_eabi #2

2014-11-10 Thread Mike Stump
On Nov 10, 2014, at 1:12 PM, Andreas Tobler  wrote:
> As I was told, arm*-*-symbianelf* should be EABI so we can use arm_eabi for 
> all instead of listing each OS.
> 
> Ok for trunk?

Ok.


[PATCH][ARM] testsuite, use arm_eabi #2

2014-11-10 Thread Andreas Tobler

Hi all,

here a second chunk which uses arm_eabi instead of arm*-*-*eabi* and 
arm*-*-symbianelf*.


As I was told, arm*-*-symbianelf* should be EABI so we can use arm_eabi 
for all instead of listing each OS.


Ok for trunk?

TIA,
Andreas

2014-11-10  Andreas Tobler  

* gcc.target/arm/eabi1.c: Replace arm*-*-*eabi* and arm*-*-symbianelf*
with arm_eabi.
* g++.dg/abi/arm_rtti1.C: Likewise.
* g++.dg/abi/key1.C: Likewise.
* g++.dg/ext/visibility/arm1.C: Likewise.
* g++.dg/ext/visibility/arm2.C: Likewise.
* g++.dg/ext/visibility/arm3.C: Likewise.



Index: g++.dg/abi/arm_rtti1.C
===
--- g++.dg/abi/arm_rtti1.C  (revision 217306)
+++ g++.dg/abi/arm_rtti1.C  (working copy)
@@ -1,4 +1,4 @@
-// { dg-do compile { target arm*-*-eabi* arm*-*-symbianelf* } }
+// { dg-do compile { target arm_eabi } }
 // { dg-options "-O2" } 
 // Check that, even when optimizing, we emit an out-of-line call to
 // the type-info comparison function.
Index: g++.dg/abi/key1.C
===
--- g++.dg/abi/key1.C   (revision 217306)
+++ g++.dg/abi/key1.C   (working copy)
@@ -1,5 +1,5 @@
 // On ARM EABI platforms, key methods may never be inline.
-// { dg-do compile { target arm*-*-eabi* arm*-*-symbianelf* } }
+// { dg-do compile { target arm_eabi } }
 // { dg-final { scan-assembler-not _ZTV1S } }
 // { dg-final { scan-assembler-not _ZTV1T } }
 // { dg-final { scan-assembler _ZTV1U } }
Index: g++.dg/ext/visibility/arm1.C
===
--- g++.dg/ext/visibility/arm1.C(revision 217306)
+++ g++.dg/ext/visibility/arm1.C(working copy)
@@ -1,4 +1,4 @@
-// { dg-do compile { target arm*-*-eabi* arm*-*-symbianelf* } }
+// { dg-do compile { target arm_eabi } }
 // { dg-require-dll "" }
 // { dg-options "-fvisibility=hidden" }
 // Most class data should be exported.
Index: g++.dg/ext/visibility/arm2.C
===
--- g++.dg/ext/visibility/arm2.C(revision 217306)
+++ g++.dg/ext/visibility/arm2.C(working copy)
@@ -1,4 +1,4 @@
-// { dg-do compile { target arm*-*-*eabi* arm*-*-symbianelf* } }
+// { dg-do compile { target arm_eabi } }
 // Class data should be exported.
 // { dg-final { scan-not-hidden "_ZTV1S" } }
 // { dg-final { scan-not-hidden "_ZTI1S" } }
Index: g++.dg/ext/visibility/arm3.C
===
--- g++.dg/ext/visibility/arm3.C(revision 217306)
+++ g++.dg/ext/visibility/arm3.C(working copy)
@@ -1,4 +1,4 @@
-// { dg-do compile { target arm*-*-*eabi* } }
+// { dg-do compile { target arm_eabi } }
 // { dg-require-dll "" }
 // { dg-options "-fvisibility=hidden" }
 
Index: gcc.target/arm/eabi1.c
===
--- gcc.target/arm/eabi1.c  (revision 217306)
+++ gcc.target/arm/eabi1.c  (working copy)
@@ -1,4 +1,4 @@
-/* { dg-do run { target arm*-*-symbianelf* arm*-*-eabi* } } */
+/* { dg-do run { target arm_eabi } } */
 /* { dg-options "" } */
 
 /* This file tests most of the non-C++ run-time helper functions