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"
===================================================================
@@ -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. */
===================================================================
@@ -2,7 +2,7 @@
template <template <typename> class FunctorData>
struct functor {
- friend FunctorData<int>;
+ friend class FunctorData<int>;
void foo();
};