From: Richard Kenner Date: Tue, 13 Jun 1995 22:23:39 +0000 (-0400) Subject: Unknown; from Jason. X-Git-Tag: misc/cutover-egcs-0~4021 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c8faea875f141782c70267f2020ba3861fc27d13;p=thirdparty%2Fgcc.git Unknown; from Jason. From-SVN: r9937 --- diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c index 7e917daea878..ef4667d0ad22 100644 --- a/gcc/cp/typeck.c +++ b/gcc/cp/typeck.c @@ -1844,7 +1844,7 @@ build_indirect_ref (ptr, errorstring) ptr : default_conversion (ptr)); register tree type = TREE_TYPE (pointer); - if (ptr == current_class_decl) + if (ptr == current_class_decl && C_C_D) return C_C_D; ptr = build_expr_type_conversion (WANT_POINTER, pointer, 1);