From: Ian Lance Taylor Date: Thu, 21 Apr 2011 23:38:34 +0000 (+0000) Subject: godump.c (go_format_type): Use exported Go name for anonymous field name. X-Git-Tag: upstream/12.2.0~84859 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7378e95ff1863346c11ac486189dde1eaa56a794;p=platform%2Fupstream%2Fgcc.git godump.c (go_format_type): Use exported Go name for anonymous field name. * godump.c (go_format_type): Use exported Go name for anonymous field name. From-SVN: r172847 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d14cc00..6e74362 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-04-21 Ian Lance Taylor + + * godump.c (go_format_type): Use exported Go name for anonymous + field name. + 2011-04-21 Nathan Froyd * config/frv/frv.c (frv_init_builtins): Delete `endlink' variable. @@ -34,7 +39,7 @@ 2011-04-21 Dimitrios Apostolou Jeff Law - * gengtype-state.c (read_a_state_token): Fix argument to + * gengtype-state.c (read_a_state_token): Fix argument to obstack_free. * gengtype.c (matching_file_name_substitute): Likewise. diff --git a/gcc/godump.c b/gcc/godump.c index 7ee7af0..16a4803 100644 --- a/gcc/godump.c +++ b/gcc/godump.c @@ -675,7 +675,7 @@ go_format_type (struct godump_container *container, tree type, { char buf[100]; - obstack_grow (ob, "_f", 2); + obstack_grow (ob, "Godump_", 2); snprintf (buf, sizeof buf, "%d", i); obstack_grow (ob, buf, strlen (buf)); i++;