From: tglek Date: Thu, 14 May 2009 23:10:50 +0000 (+0000) Subject: Correct formatting errors commited in rev 147516 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4fb84273d03c549968ac959bb95193a2597c264c;p=thirdparty%2Fgcc.git Correct formatting errors commited in rev 147516 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147547 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ac58e2b16111..0cd4a41e1596 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -232,7 +232,7 @@ * mips-tfile.c (add_ext_symbol): Add casts to enum types. (mark_stabs): Add casts to enum types. (parse_stabs_common): Add casts to enum types. - + 2009-05-13 Adam Nemet * config/mips/mips.c (mips_print_operand) : @@ -240,11 +240,13 @@ 2009-05-13 Taras Glek - * attribs.c moved out attribute registration into register_attribute - * doc/plugins.texi Documented register_attribute and PLUGIN_ATTRIBUTES - * gcc-plugin.h Added forward decl for register_attribute - * plugin.c Added PLUGIN_ATTRIBUTES boilerplate - * plugin.h Added PLUGIN_ATTRIBUTES + * attribs.c (register_attribute): moved out attribute registration into + register_attribute. + * doc/plugins.texi: Documented register_attribute and PLUGIN_ATTRIBUTES. + * gcc-plugin.h: Added forward decl for register_attribute. + * gcc-plugin.h (plugins_event): Added PLUGIN_ATTRIBUTES. + * plugin.c (register_callback, invoke_plugin_callbacks): Added + PLUGIN_ATTRIBUTES boilerplate. 2009-05-14 Dave Korn diff --git a/gcc/attribs.c b/gcc/attribs.c index a7f549e1dc8c..5b18aa357513 100644 --- a/gcc/attribs.c +++ b/gcc/attribs.c @@ -194,16 +194,16 @@ init_attributes (void) void register_attribute (const struct attribute_spec *attr) { - struct substring str; - const void **slot; - - str.str = attr->name; - str.length = strlen (str.str); - slot = (const void **)htab_find_slot_with_hash (attribute_hash, &str, - substring_hash (str.str, str.length), - INSERT); - gcc_assert (!*slot); - *slot = attr; + struct substring str; + const void **slot; + + str.str = attr->name; + str.length = strlen (str.str); + slot = (const void **)htab_find_slot_with_hash (attribute_hash, &str, + substring_hash (str.str, str.length), + INSERT); + gcc_assert (!*slot); + *slot = attr; } /* Return the spec for the attribute named NAME. */ diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 1c6d5831759f..3d5aeb05a748 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -7,7 +7,7 @@ 2009-05-13 David Mandelin : - * decl.c (duplicate_decls): Preserve parameter attributes. + * decl.c (duplicate_decls): Preserve parameter attributes. 2009-05-10 Jan Hubicka