From fadf02a4e0daef37ab5cc8a14e66ff4426e21428 Mon Sep 17 00:00:00 2001 From: Bin Cheng Date: Tue, 21 Apr 2015 02:23:18 +0000 Subject: [PATCH] re PR testsuite/65767 (Test pr65276 failed on arm-none-eabi) PR testsuite/65767 * g++.dg/lto/pr65276_0.C: Change namespace std to std2. * g++.dg/lto/pr65276_1.C: Change namespace std to std2. From-SVN: r222255 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/g++.dg/lto/pr65276_0.C | 8 ++++---- gcc/testsuite/g++.dg/lto/pr65276_1.C | 4 ++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8ffe2eac523..db9559152cb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2015-04-21 Bin Cheng + + PR testsuite/65767 + * g++.dg/lto/pr65276_0.C: Change namespace std to std2. + * g++.dg/lto/pr65276_1.C: Change namespace std to std2. + 2015-04-20 Paolo Carlini PR c++/65801 diff --git a/gcc/testsuite/g++.dg/lto/pr65276_0.C b/gcc/testsuite/g++.dg/lto/pr65276_0.C index c8e96999dc0..9c72e689a60 100644 --- a/gcc/testsuite/g++.dg/lto/pr65276_0.C +++ b/gcc/testsuite/g++.dg/lto/pr65276_0.C @@ -7,7 +7,7 @@ extern "C++" { - namespace std + namespace std2 { class exception { @@ -16,7 +16,7 @@ extern "C++" }; } } -namespace std +namespace std2 { struct __cow_string { @@ -31,9 +31,9 @@ namespace std __cow_string _M_msg; }; } -namespace std +namespace std2 { - class system_error:public std::runtime_error + class system_error:public std2::runtime_error { }; enum _Ios_Fmtflags diff --git a/gcc/testsuite/g++.dg/lto/pr65276_1.C b/gcc/testsuite/g++.dg/lto/pr65276_1.C index ee49752f0f5..dafa4fc319a 100644 --- a/gcc/testsuite/g++.dg/lto/pr65276_1.C +++ b/gcc/testsuite/g++.dg/lto/pr65276_1.C @@ -3,7 +3,7 @@ #pragma interface extern "C++" { - namespace std + namespace std2 { class exception { @@ -12,7 +12,7 @@ extern "C++" }; } } -namespace std +namespace std2 { struct __cow_string { -- 2.30.2