aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/pr23237.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 2a654bc..07196c8 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-02 Steve Ellcey <sje@cup.hp.com>
+
+ PR testsuite/27032
+ * gcc.c-torture/compile/pr23237.c: Move dg-do line.
+
2006-05-02 Jeff Law <law@redhat.com>
PR tree-optimization/27364
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr23237.c b/gcc/testsuite/gcc.c-torture/compile/pr23237.c
index 955cdd0..f3f917d 100644
--- a/gcc/testsuite/gcc.c-torture/compile/pr23237.c
+++ b/gcc/testsuite/gcc.c-torture/compile/pr23237.c
@@ -1,9 +1,9 @@
-/* { dg-require-effective-target named_sections } */
-
/* Don't assemble, as this section syntax may not be valid on all platforms
(e.g., Darwin). */
/* { dg-do compile } */
+/* { dg-require-effective-target named_sections } */
+
static __attribute__ ((__section__ (".init.data"))) char *message;
static __attribute__ ((__section__ (".init.data"))) int (*actions[])(void) = {};
void unpack_to_rootfs(void)