aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2007-12-15 19:45:41 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2007-12-15 19:45:41 +0000
commit4b516b14bac816c054c9b190f718cbbaf83e6603 (patch)
tree2083cc61f68db2b1a009373d84580c1f0bb65514 /gcc
parent0c8efed8c462fdb4249a38fe27dadeb5acbbe0d0 (diff)
downloadgcc-4b516b14bac816c054c9b190f718cbbaf83e6603.zip
gcc-4b516b14bac816c054c9b190f718cbbaf83e6603.tar.gz
gcc-4b516b14bac816c054c9b190f718cbbaf83e6603.tar.bz2
datasec1.C: Require named section support.
* g++.dg/other/datasec1.C: Require named section support. From-SVN: r130958
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/g++.dg/other/datasec1.C1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 89c0228..ee443e3 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2007-12-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * g++.dg/other/datasec1.C: Require named section support.
+
2007-12-14 Jakub Jelinek <jakub@redhat.com>
PR target/29978
diff --git a/gcc/testsuite/g++.dg/other/datasec1.C b/gcc/testsuite/g++.dg/other/datasec1.C
index 28dab01..c6b2ae9 100644
--- a/gcc/testsuite/g++.dg/other/datasec1.C
+++ b/gcc/testsuite/g++.dg/other/datasec1.C
@@ -1,5 +1,6 @@
// PR target/33168
// { dg-do compile }
+// { dg-require-effective-target named_sections }
// { dg-options "-O2 -fdata-sections" }
extern const int& foo;