commit 17f3af8efbf2fe2483fd922b42b30585a33095a9
Author: Jason Merrill <jason@redhat.com>
Date: Fri May 20 16:02:53 2011 -0400
* tree.c (stabilize_expr): Fix typo.
@@ -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);