Commit caaabaa1 by Mark Wielaard Committed by Mark Wielaard

re PR java/5368 (gcj-3.0.3 segfaults with 20 line program)

	Fix for PR java/5368:
	* parse.y (resolve_qualified_expression_name): Use decl not field_decl
	when printing error message.

From-SVN: r51327
parent 56ae9405
2002-03-22 Mark Wielaard <mark@klomp.org>
Fix for PR java/5368:
* parse.y (resolve_qualified_expression_name): Use decl not field_decl
when printing error message.
2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
* decl.c (maybe_build_cleanup): Remove.
......
......@@ -9804,7 +9804,7 @@ resolve_qualified_expression_name (wfl, found_decl, where_found, type_found)
(qual_wfl, "Attempt to reference field `%s' in `%s %s'",
IDENTIFIER_POINTER (EXPR_WFL_NODE (qual_wfl)),
lang_printable_name (type, 0),
IDENTIFIER_POINTER (DECL_NAME (field_decl)));
IDENTIFIER_POINTER (DECL_NAME (decl)));
return 1;
}
......
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