Commit a6f5b2d3 by Mark Mitchell Committed by Mark Mitchell

typeck.c (build_class_member_access_expr): Do not return error_mark_node when no…

typeck.c (build_class_member_access_expr): Do not return error_mark_node when no error has occurred.

	* typeck.c (build_class_member_access_expr): Do not return
	error_mark_node when no error has occurred.

From-SVN: r56138
parent 3b85fe5f
2002-08-08 Mark Mitchell <mark@codesourcery.com>
* typeck.c (build_class_member_access_expr): Do not return
error_mark_node when no error has occurred.
2002-08-08 Nathan Sidwell <nathan@codesourcery.com> 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
* typeck.c (build_component_addr): Remove. * typeck.c (build_component_addr): Remove.
......
...@@ -1950,7 +1950,6 @@ build_class_member_access_expr (tree object, tree member, ...@@ -1950,7 +1950,6 @@ build_class_member_access_expr (tree object, tree member,
warning ("invalid access to non-static data member `%D' of NULL object", warning ("invalid access to non-static data member `%D' of NULL object",
member); member);
warning ("(perhaps the `offsetof' macro was used incorrectly)"); warning ("(perhaps the `offsetof' macro was used incorrectly)");
return error_mark_node;
} }
/* If MEMBER is from an anonymous aggregate, we have converted /* If MEMBER is from an anonymous aggregate, we have converted
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment