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
This commit is contained in:
Eric Botcazou 2016-12-08 15:52:11 +00:00 committed by Eric Botcazou
parent 55dccc1e0d
commit 0a7577bbac
2 changed files with 8 additions and 2 deletions

View File

@ -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> 2016-12-08 Jonathan Wakely <jwakely@redhat.com>
* testsuite/experimental/filesystem/path/construct/range.cc: Don't * testsuite/experimental/filesystem/path/construct/range.cc: Don't

View File

@ -147,8 +147,8 @@
#endif #endif
#if __cpp_noexcept_function_type #if __cpp_noexcept_function_type
#define _GLIBCXX_NOEXCEPT_PARM , bool _N #define _GLIBCXX_NOEXCEPT_PARM , bool _NE
#define _GLIBCXX_NOEXCEPT_QUAL noexcept (_N) #define _GLIBCXX_NOEXCEPT_QUAL noexcept (_NE)
#else #else
#define _GLIBCXX_NOEXCEPT_PARM #define _GLIBCXX_NOEXCEPT_PARM
#define _GLIBCXX_NOEXCEPT_QUAL #define _GLIBCXX_NOEXCEPT_QUAL