Commit f0b150ba by Jason Merrill Committed by Jason Merrill

revert: decl.c (cp_fname_init): Correct build_string argument.

	Revert:
	* decl.c (cp_fname_init): Correct build_string argument.

From-SVN: r153765
parent 86ed04df
2009-10-30 Jason Merrill <jason@redhat.com>
Revert:
* decl.c (cp_fname_init): Correct build_string argument.
2009-10-30 Jerry Quinn <jlquinn@optonline.net>
* mangle.c (mangle_type_string_for_rtti): Revert 153734.
......
......@@ -3512,7 +3512,7 @@ cp_fname_init (const char* name, tree *type_p)
{
length = strlen (name);
domain = build_index_type (size_int (length));
init = build_string (length, name);
init = build_string (length + 1, name);
}
type = build_qualified_type (char_type_node, TYPE_QUAL_CONST);
......
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