http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49082

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-20 
20:40:03 UTC ---
Author: jason
Date: Fri May 20 20:39:59 2011
New Revision: 173981

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173981
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:
    trunk/gcc/testsuite/g++.dg/cpp0x/noexcept10.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/cp/typeck2.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/cpp0x/noexcept02.C
    trunk/gcc/testsuite/g++.dg/cpp0x/noexcept03.C
    trunk/gcc/testsuite/g++.dg/cpp0x/noexcept08.C

Reply via email to