aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2017-08-21 17:06:26 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2017-08-21 17:06:26 +0000
commit57cea2b3bc9cc19bc3d14007cef0393f5bf70823 (patch)
treec4486bda4d07e19dbeb7ebd2fdd475bec653a032 /gcc
parent7f204c0f4b23fa06878a34535a525d0295414406 (diff)
downloadgcc-57cea2b3bc9cc19bc3d14007cef0393f5bf70823.zip
gcc-57cea2b3bc9cc19bc3d14007cef0393f5bf70823.tar.gz
gcc-57cea2b3bc9cc19bc3d14007cef0393f5bf70823.tar.bz2
pr81899.C: Fix c++03.
* g++.dg/template/pr81899.C: Fix c++03. * g++.dg/debug/debug9.C: Add -fno-reorder-blocks-and-partition" From-SVN: r251240
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/g++.dg/debug/debug9.C5
-rw-r--r--gcc/testsuite/g++.dg/template/pr81899.C2
3 files changed, 11 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 48f041e..b3466cd 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2017-08-21 Nathan Sidwell <nathan@acm.org>
+
+ * g++.dg/template/pr81899.C: Fix c++03.
+ * g++.dg/debug/debug9.C: Add -fno-reorder-blocks-and-partition"
+
2017-08-21 David Malcolm <dmalcolm@redhat.com>
* gcc.dg/format/diagnostic-ranges.c (test_mismatching_types):
diff --git a/gcc/testsuite/g++.dg/debug/debug9.C b/gcc/testsuite/g++.dg/debug/debug9.C
index aa328ee..8cf2327 100644
--- a/gcc/testsuite/g++.dg/debug/debug9.C
+++ b/gcc/testsuite/g++.dg/debug/debug9.C
@@ -1,4 +1,9 @@
/* { dg-do assemble } */
+/* Partitioning causes hot/cold section emission and breaks stabs
+ debugging. */
+/* { dg-additional-options "-fno-reorder-blocks-and-partition" } */
+
+
/* This testcase requires entries in the debug_range section in DWARF which
refer to a vague linkage function. */
diff --git a/gcc/testsuite/g++.dg/template/pr81899.C b/gcc/testsuite/g++.dg/template/pr81899.C
index 2db57cf..317a046 100644
--- a/gcc/testsuite/g++.dg/template/pr81899.C
+++ b/gcc/testsuite/g++.dg/template/pr81899.C
@@ -2,7 +2,7 @@
template <template <typename> class FunctorData>
struct functor {
- friend FunctorData<int>;
+ friend class FunctorData<int>;
void foo();
};