This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/53371] rvalue reference type as exception-declaration


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

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-05-17 15:56:01 UTC ---
Author: paolo
Date: Thu May 17 15:55:51 2012
New Revision: 187630

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187630
Log:
/cp
2012-05-17  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/53371
    * except.c (is_admissible_throw_operand): Rename to
    is_admissible_throw_operand_or_catch_parameter and handle
    catch parameter too.
    (expand_start_catch_block): Use it.
    (build_throw): Adjust.

/testsuite
2012-05-17  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/53371
    * g++.dg/cpp0x/catch1.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/catch1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/except.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]