mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-21 22:51:06 +08:00
* tree.c (stabilize_expr): Fix typo.
From-SVN: r173982
This commit is contained in:
parent
5e3f417f3e
commit
fa07d25b40
@ -1,5 +1,8 @@
|
||||
2011-05-20 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/48873
|
||||
* tree.c (stabilize_expr): Fix typo.
|
||||
|
||||
DR 1073
|
||||
PR c++/49082
|
||||
* typeck.c (comp_except_specs): noexcept(false) is not compatible
|
||||
|
@ -3136,7 +3136,7 @@ stabilize_expr (tree exp, tree* initp)
|
||||
/* There are no expressions with REFERENCE_TYPE, but there can be call
|
||||
arguments with such a type; just treat it as a pointer. */
|
||||
else if (TREE_CODE (TREE_TYPE (exp)) == REFERENCE_TYPE
|
||||
|| SCALAR_TYPE_P (exp)
|
||||
|| SCALAR_TYPE_P (TREE_TYPE (exp))
|
||||
|| !lvalue_or_rvalue_with_address_p (exp))
|
||||
{
|
||||
init_expr = get_target_expr (exp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user