public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH][AArch64][committed] Mark target_attr_1.c as compile-only
@ 2015-08-14  9:47 Kyrill Tkachov
  0 siblings, 0 replies; only message in thread
From: Kyrill Tkachov @ 2015-08-14  9:47 UTC (permalink / raw)
  To: GCC Patches

[-- Attachment #1: Type: text/plain, Size: 423 bytes --]

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.tkachov@arm.com>

     * gcc.target/aarch64/target_attr_1.c: Make test compile-only.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: attr-compile-test.patch --]
[-- Type: text/x-patch; name=attr-compile-test.patch, Size: 453 bytes --]

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.  */

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

only message in thread, other threads:[~2015-08-14  9:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-14  9:47 [PATCH][AArch64][committed] Mark target_attr_1.c as compile-only Kyrill Tkachov

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).