aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2016-12-08 15:52:11 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2016-12-08 15:52:11 +0000
commit0a7577bbac00ea3ecfa8f25d38c98ea696f3a0ce (patch)
treef5cb2087a8f1f36f6204f377d25454ac616967f6
parent55dccc1e0dbc8b975f5d14f151991f1c8412768e (diff)
downloadgcc-0a7577bbac00ea3ecfa8f25d38c98ea696f3a0ce.zip
gcc-0a7577bbac00ea3ecfa8f25d38c98ea696f3a0ce.tar.gz
gcc-0a7577bbac00ea3ecfa8f25d38c98ea696f3a0ce.tar.bz2
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
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/include/bits/c++config4
2 files changed, 8 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 5d8ee46..49ddd5b 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2016-12-08 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR libstdc++/78264
+ * include/bits/c++config (_GLIBCXX_NOEXCEPT_PARM): Turn _N into _NE.
+ (_GLIBCXX_NOEXCEPT_QUAL): Likewise.
+
2016-12-08 Jonathan Wakely <jwakely@redhat.com>
* 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 39e55f4..1304412 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