View | Details | Return to bug 24052 | Differences between
and this patch

Collapse All | Expand All

(-)cp/error.c (+3 lines)
Lines 1299-1304 dump_expr (tree t, int flags) Link Here
1299
    case FUNCTION_DECL:
1299
    case FUNCTION_DECL:
1300
    case TEMPLATE_DECL:
1300
    case TEMPLATE_DECL:
1301
    case NAMESPACE_DECL:
1301
    case NAMESPACE_DECL:
1302
    case LABEL_DECL:
1302
    case OVERLOAD:
1303
    case OVERLOAD:
1303
    case IDENTIFIER_NODE:
1304
    case IDENTIFIER_NODE:
1304
      dump_decl (t, (flags & ~TFF_DECL_SPECIFIERS) | TFF_NO_FUNCTION_ARGUMENTS);
1305
      dump_decl (t, (flags & ~TFF_DECL_SPECIFIERS) | TFF_NO_FUNCTION_ARGUMENTS);
Lines 1541-1546 dump_expr (tree t, int flags) Link Here
1541
	  || (TREE_TYPE (t)
1542
	  || (TREE_TYPE (t)
1542
	      && TREE_CODE (TREE_TYPE (t)) == REFERENCE_TYPE))
1543
	      && TREE_CODE (TREE_TYPE (t)) == REFERENCE_TYPE))
1543
	dump_expr (TREE_OPERAND (t, 0), flags | TFF_EXPR_IN_PARENS);
1544
	dump_expr (TREE_OPERAND (t, 0), flags | TFF_EXPR_IN_PARENS);
1545
      else if (TREE_CODE (TREE_OPERAND (t, 0)) == LABEL_DECL)
1546
	dump_unary_op ("&&", t, flags);
1544
      else
1547
      else
1545
	dump_unary_op ("&", t, flags);
1548
	dump_unary_op ("&", t, flags);
1546
      break;
1549
      break;

Return to bug 24052