enable-build-with-cxx bootstrap compare broken by r149964
Jason Merrill
jason@redhat.com
Wed Oct 28 17:34:00 GMT 2009
On 10/28/2009 07:29 AM, Jerry Quinn wrote:
> + length = strlen (name);
> + if (mark_private)
> + name_string = build_string (length + 1, buf);
> + else
> + name_string = build_string (length + 1, name);
These two calls shouldn't be using the same length. I think the +1 in
the old code was unnecessary, so you can just remove it from the second
call.
Jason
More information about the Gcc
mailing list