This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
fix new testcase
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 30 Apr 2008 09:33:36 +0100
- Subject: fix new testcase
I failed to restrict this to vxworks. Fixed thusly.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
2008-04-30 Nathan Sidwell <nathan@codesourcery.com>
* gcc.dg/tls/section-2.c: Restrict to vxworks.
Index: gcc.dg/tls/section-2.c
===================================================================
--- gcc.dg/tls/section-2.c (revision 134816)
+++ gcc.dg/tls/section-2.c (working copy)
@@ -1,9 +1,14 @@
/* Verify that we get errors for trying to put TLS data in
sections which can't work. */
/* { dg-require-effective-target tls } */
+/* { dg-do compile { target *-*-vxworks } } */
#define A(X) __attribute__((section(X)))