-
- Downloads
PR c++/86205 - ICE with ?: of throw and template-id.
My patch for 64372 removed a bogus lvalue-rvalue conversion for one arm of a ?: expression where the other arm is a throw. But we still need to require any overload to be resolved, even though we aren't getting that from decay_conversion anymore. * pt.c (resolve_nondeduced_context_or_error): Split out from... * typeck.c (decay_conversion): ...here. * call.c (build_conditional_expr_1): Use it. From-SVN: r268058
Showing
- gcc/cp/ChangeLog 5 additions, 0 deletionsgcc/cp/ChangeLog
- gcc/cp/call.c 13 additions, 0 deletionsgcc/cp/call.c
- gcc/cp/cp-tree.h 1 addition, 0 deletionsgcc/cp/cp-tree.h
- gcc/cp/pt.c 15 additions, 0 deletionsgcc/cp/pt.c
- gcc/cp/typeck.c 1 addition, 7 deletionsgcc/cp/typeck.c
- gcc/testsuite/g++.dg/cpp0x/cond2.C 14 additions, 0 deletionsgcc/testsuite/g++.dg/cpp0x/cond2.C
Loading
Please register or sign in to comment