diff options
author | Jason Merrill <jason@redhat.com> | 2011-11-08 12:10:09 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2011-11-08 12:10:09 -0500 |
commit | ca8dc274736dce2046bb557f7b5c5a5d0193fb3c (patch) | |
tree | 3e07a425ce3f8dbc0b60c88f2ef81e9501ce6e22 /gcc/recog.c | |
parent | e55cef40ed1f6f5b2a9933e0256ea23e66b1806c (diff) | |
download | gcc-ca8dc274736dce2046bb557f7b5c5a5d0193fb3c.zip gcc-ca8dc274736dce2046bb557f7b5c5a5d0193fb3c.tar.gz gcc-ca8dc274736dce2046bb557f7b5c5a5d0193fb3c.tar.bz2 |
re PR c++/50835 (Lvalue-ness of conditional operator results is incorrect in a function template)
PR c++/50835
* typeck.c (build_x_conditional_expr): Preserve lvalue/xvalueness.
* tree.c (lvalue_kind) [NON_DEPENDENT_EXPR]: Return clk_ordinary
in C++98.
From-SVN: r181174
Diffstat (limited to 'gcc/recog.c')
0 files changed, 0 insertions, 0 deletions