This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r173984 - in /branches/gcc-4_6-branch/gcc: cp/C...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 20 May 2011 21:29:15 -0000
- Subject: r173984 - in /branches/gcc-4_6-branch/gcc: cp/C...
Author: jason
Date: Fri May 20 21:29:14 2011
New Revision: 173984
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173984
Log:
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.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/noexcept10.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/typeck.c
branches/gcc-4_6-branch/gcc/cp/typeck2.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/noexcept02.C
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/noexcept03.C
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/noexcept08.C