--- /opt/cvs/dotgnu/pnet/ChangeLog Fri Aug 23 16:11:06 2002 +++ /tmp/dotgnu/pnet/ChangeLog Fri Aug 23 20:42:54 2002 @@ -1,4 +1,9 @@ +2002-08-23 Gopal.V + + * cscc/c/c_lvalue.tc: The member lookup in dereferenced + access (ILNode_CDerefField) + 2002-08-23 Rhys Weatherley * cscc/c/c_grammar.y, cscc/c/c_library.c, cscc/c/c_types.c, --- /opt/cvs/dotgnu/pnet/cscc/c/c_lvalue.tc Fri Aug 23 16:11:22 2002 +++ /tmp/dotgnu/pnet/cscc/c/c_lvalue.tc Fri Aug 23 20:51:21 2002 @@ -341,12 +341,12 @@ goto typeError; } - /* Search for the field within the type */ - field = CTypeLookupField(info, type, node->name, + /* Search for the field within the derefenced struct type */ + field = CTypeLookupField(info, structType, node->name, &bitFieldStart, &bitFieldSize); if(!field) { - if(CTypeIsStruct(type)) + if(CTypeIsStruct(structType)) { CCErrorOnLine(yygetfilename(node), yygetlinenum(node), _("structure has no member named `%s'"),