From: Nathan Sidwell Date: Mon, 21 Aug 2017 17:06:26 +0000 (+0000) Subject: pr81899.C: Fix c++03. X-Git-Tag: upstream/12.2.0~37558 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=57cea2b3bc9cc19bc3d14007cef0393f5bf70823;p=platform%2Fupstream%2Fgcc.git 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 --- 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 + + * g++.dg/template/pr81899.C: Fix c++03. + * g++.dg/debug/debug9.C: Add -fno-reorder-blocks-and-partition" + 2017-08-21 David Malcolm * 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