From 0a7577bbac00ea3ecfa8f25d38c98ea696f3a0ce Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Thu, 8 Dec 2016 15:52:11 +0000 Subject: [PATCH] re PR libstdc++/78264 (ICE in build_noexcept_spec, at cp/except.c:1196) PR libstdc++/78264 * include/bits/c++config (_GLIBCXX_NOEXCEPT_PARM): Turn _N into _NE. (_GLIBCXX_NOEXCEPT_QUAL): Likewise. From-SVN: r243443 --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/include/bits/c++config | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 5d8ee466ff5..49ddd5b4de9 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2016-12-08 Eric Botcazou + + PR libstdc++/78264 + * include/bits/c++config (_GLIBCXX_NOEXCEPT_PARM): Turn _N into _NE. + (_GLIBCXX_NOEXCEPT_QUAL): Likewise. + 2016-12-08 Jonathan Wakely * testsuite/experimental/filesystem/path/construct/range.cc: Don't diff --git a/libstdc++-v3/include/bits/c++config b/libstdc++-v3/include/bits/c++config index 39e55f42b54..13044129937 100644 --- a/libstdc++-v3/include/bits/c++config +++ b/libstdc++-v3/include/bits/c++config @@ -147,8 +147,8 @@ #endif #if __cpp_noexcept_function_type -#define _GLIBCXX_NOEXCEPT_PARM , bool _N -#define _GLIBCXX_NOEXCEPT_QUAL noexcept (_N) +#define _GLIBCXX_NOEXCEPT_PARM , bool _NE +#define _GLIBCXX_NOEXCEPT_QUAL noexcept (_NE) #else #define _GLIBCXX_NOEXCEPT_PARM #define _GLIBCXX_NOEXCEPT_QUAL -- 2.30.2