Commit 0d2489f4 by Eric Botcazou Committed by Eric Botcazou

re PR ada/65319 (FAIL: g++.dg/other/dump-ada-spec-3.C -std=gnu++98 (internal compiler error))

	PR ada/65319
	* c-ada-spec.c (print_destructor): Remove obsolete code.

From-SVN: r221213
parent 9933260f
2015-03-05 Eric Botcazou <ebotcazou@adacore.com>
PR ada/65319
* c-ada-spec.c (print_destructor): Remove obsolete code.
2015-03-01 Eric Botcazou <ebotcazou@adacore.com>
* c-ada-spec.c (is_tagged_type): Add guard for DECL_VINDEX.
......
......@@ -2541,18 +2541,9 @@ static void
print_destructor (pretty_printer *buffer, tree t)
{
tree decl_name = DECL_NAME (DECL_ORIGIN (t));
const char *s = IDENTIFIER_POINTER (decl_name);
if (*s == '_')
{
for (s += 2; *s != ' '; s++)
pp_character (buffer, *s);
}
else
{
pp_string (buffer, "Delete_");
pp_ada_tree_identifier (buffer, decl_name, t, false);
}
pp_string (buffer, "Delete_");
pp_ada_tree_identifier (buffer, decl_name, t, false);
}
/* Return the name of type T. */
......
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