aboutsummaryrefslogtreecommitdiff
path: root/libcpp/directives.c
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@gcc.gnu.org>2016-04-13 00:06:51 +0000
committerPatrick Palka <ppalka@gcc.gnu.org>2016-04-13 00:06:51 +0000
commit92886d3e86cb7b2f83cfc9724cb527ab8032aed8 (patch)
tree2c6544cbcec2e437adb45867ccd31332d79effc8 /libcpp/directives.c
parentd90936ff88545c9312a0137725a9b1ab0919ad48 (diff)
downloadgcc-92886d3e86cb7b2f83cfc9724cb527ab8032aed8.zip
gcc-92886d3e86cb7b2f83cfc9724cb527ab8032aed8.tar.gz
gcc-92886d3e86cb7b2f83cfc9724cb527ab8032aed8.tar.bz2
Fix PR c++/70610 (wrong overload resolution during template processing)
gcc/cp/ChangeLog: PR c++/70610 * tree.c (lvalue_kind) [NON_DEPENDENT_EXPR]: Unconditionally recurse into it. * typeck.c (build_x_conditional_expr): Unconditionally remember that the result is an lvalue or xvalue. gcc/testsuite/ChangeLog: PR c++/70610 * g++.dg/template/pr70610.C: New test. * g++.dg/template/pr70610-2.C: New test. * g++.dg/template/pr70610-3.C: New test. * g++.dg/template/pr70610-4.C: New test. From-SVN: r234926
Diffstat (limited to 'libcpp/directives.c')
0 files changed, 0 insertions, 0 deletions