[Bug c++/50424] G++ doesn't notice possible throw from default argument
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 16 21:19:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50424
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-09-16 21:13:47 UTC ---
Author: jason
Date: Fri Sep 16 21:13:42 2011
New Revision: 178917
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178917
Log:
PR c++/50424
* tree.c (bot_manip): Set cp_function_chain->can_throw.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/eh/defarg1.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/tree.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list