gcc/gcc/cp
Jason Merrill ca8dc27473 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
2011-11-08 12:10:09 -05:00
..
ChangeLog re PR c++/50835 (Lvalue-ness of conditional operator results is incorrect in a function template) 2011-11-08 12:10:09 -05:00
ChangeLog-1993
ChangeLog-1994
ChangeLog-1995
ChangeLog-1996
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog.ptr
ChangeLog.tree-ssa
Make-lang.in Move shlib support to toplevel libgcc 2011-11-02 10:49:46 +00:00
NEWS NEWS (GCC 2.95): Refer to GNU/Linux instead of Linux. 2011-10-30 14:17:22 +00:00
call.c Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
cfns.gperf
cfns.h
class.c Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
config-lang.in Make-lang.in (check-g++-strict-gc): New. 2011-07-16 00:11:53 -04:00
cp-gimplify.c re PR c++/26747 (bad break/continue is not detected until the gimplifier) 2011-09-26 13:51:52 +00:00
cp-lang.c
cp-objcp-common.c Implement C++11 user-defined literals. 2011-10-26 15:30:59 -04:00
cp-objcp-common.h
cp-tree.def [multiple changes] 2011-10-18 02:58:06 +00:00
cp-tree.h Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
cvt.c re PR c++/44277 ([C++0x] Add warning to facilitate nullptr conversion.) 2011-11-01 23:28:19 +00:00
cxx-pretty-print.c Implement C++11 user-defined literals. 2011-10-26 15:30:59 -04:00
cxx-pretty-print.h Implement C++11 user-defined literals. 2011-10-26 15:30:59 -04:00
decl.c Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
decl.h
decl2.c PR c++/45114 - Support C++11 alias-declaration 2011-11-07 22:28:50 +01:00
dump.c
error.c re PR middle-end/51010 (bad diagnostics: #'ssa_name' not supported by pp_c_expression#]') 2011-11-08 15:14:21 +00:00
except.c Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
expr.c
friend.c re PR c++/50344 (friend declaration confused by const qualifier) 2011-09-22 14:16:27 +00:00
g++spec.c
init.c re PR c++/26714 (violation of [class.temporary]/5) 2011-11-04 23:28:14 -04:00
lang-specs.h
lex.c re PR c++/50075 ([C++0x] ICE related to parameter deduction and initializer_list) 2011-08-14 00:41:43 -04:00
mangle.c typeck.c (build_indirect_ref): Use ATTRIBUTE_UNUSED. 2011-11-04 17:51:20 +00:00
method.c re PR c++/50500 ([C++0x] [DR 1082] move constructor should cause copy constructor to be deleted, but still declared) 2011-10-18 13:39:15 -04:00
name-lookup.c re PR c++/50870 ([C++0x] [4.6/4.7 Regression] ICE with decltype, operator->, and default template arguments) 2011-10-26 17:59:36 +00:00
name-lookup.h re PR c++/50075 ([C++0x] ICE related to parameter deduction and initializer_list) 2011-08-14 00:41:43 -04:00
operators.def
optimize.c cgraph.c (cgraph_add_to_same_comdat_group): New. 2011-07-08 23:33:44 -04:00
parser.c Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
parser.h Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
pt.c Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
ptree.c re PR c++/49107 ([C++0x][4.7 Regression] incomplete type regression with std::pair) 2011-06-08 17:35:02 -04:00
repo.c Change random seeds to 64bit and drop re-crcing 2011-09-29 13:14:51 +00:00
rtti.c re PR c++/44267 (SFINAE does not handle down static_cast over virtual inheritance) 2011-09-24 09:55:01 +00:00
search.c PR c++/45114 - Support C++11 alias-declaration 2011-11-07 22:28:50 +01:00
semantics.c Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
tree.c re PR c++/50835 (Lvalue-ness of conditional operator results is incorrect in a function template) 2011-11-08 12:10:09 -05:00
typeck.c re PR c++/50835 (Lvalue-ness of conditional operator results is incorrect in a function template) 2011-11-08 12:10:09 -05:00
typeck2.c re PR c++/48370 (G++ fails to extend reference temporary lifetime in some situations) 2011-11-04 08:54:08 -04:00