diff options
author | Jason Merrill <jason@redhat.com> | 2019-01-17 22:58:22 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-01-17 22:58:22 -0500 |
commit | b0f422220aa1a1a98cd89177269ece2f8b2029fd (patch) | |
tree | 7879322f9e077f358b2a0b82a24c86a203fc4d0f /gcc/tree-inline.c | |
parent | aee6ed4a2cbed1ac8be35332ee2391206e2101a2 (diff) | |
download | gcc-b0f422220aa1a1a98cd89177269ece2f8b2029fd.zip gcc-b0f422220aa1a1a98cd89177269ece2f8b2029fd.tar.gz gcc-b0f422220aa1a1a98cd89177269ece2f8b2029fd.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions