DR 1073 PR c++/49082
authorJason Merrill <jason@redhat.com>
Fri, 20 May 2011 20:39:59 +0000 (16:39 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 20 May 2011 20:39:59 +0000 (16:39 -0400)
commit5e3f417f3efce4a89d7330eed7f4dba99bcbe3bc
tree35f1b483465719251a4a4da129ee8d9540173c09
parentbce33ab2b4277852496aaebc9bbdbc223ee25164
DR 1073 PR c++/49082

DR 1073
PR c++/49082
* typeck.c (comp_except_specs): noexcept(false) is not compatible
with throw(type-list).
* typeck2.c (merge_exception_specifiers): noexcept(false)
beats any more limited specification.

From-SVN: r173981
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/cp/typeck2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/noexcept02.C
gcc/testsuite/g++.dg/cpp0x/noexcept03.C
gcc/testsuite/g++.dg/cpp0x/noexcept08.C
gcc/testsuite/g++.dg/cpp0x/noexcept10.C [new file with mode: 0644]