https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68475
--- Comment #3 from Nathan Sidwell <nathan at gcc dot gnu.org> --- Author: nathan Date: Fri Apr 1 12:10:17 2016 New Revision: 234667 URL: https://gcc.gnu.org/viewcvs?rev=234667&root=gcc&view=rev Log: PR c++/68475 * decl.c (check_redeclaration_exception_specification): Check regardless of -fno-exceptions. * typeck2.c (merge_exception_specifiers): Relax assert by checking flag_exceptions too. * g++.dg/g++.dg/cpp0x/noexcept29.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp0x/noexcept29.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/cp/typeck2.c trunk/gcc/testsuite/ChangeLog