As mentioned at
https://gcc.gnu.org/ml/gcc-patches/2015-08/msg00251.html

some assemblers don't support -mcpu=thunderx, so the dg-do assemble test will 
FAIL.
Mark this test as compile-only as assembling it is not essential to the 
functionality it tests.

Committed as obvious with r226886.

2015-08-14  Kyrylo Tkachov  <kyrylo.tkac...@arm.com>

    * gcc.target/aarch64/target_attr_1.c: Make test compile-only.
diff --git a/gcc/testsuite/gcc.target/aarch64/target_attr_1.c b/gcc/testsuite/gcc.target/aarch64/target_attr_1.c
index b1d52a6..852ce1e 100644
--- a/gcc/testsuite/gcc.target/aarch64/target_attr_1.c
+++ b/gcc/testsuite/gcc.target/aarch64/target_attr_1.c
@@ -1,4 +1,4 @@
-/* { dg-do assemble } */
+/* { dg-do compile } */
 /* { dg-options "-O2 -mcpu=thunderx -save-temps" } */
 
 /* Test that cpu attribute overrides the command-line -mcpu.  */

Reply via email to