diff options
-rw-r--r-- | gcc/ChangeLog | 14 | ||||
-rw-r--r-- | gcc/attribs.c | 20 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 2 |
3 files changed, 19 insertions, 17 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ac58e2b..0cd4a41 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 <anemet@caviumnetworks.com> * config/mips/mips.c (mips_print_operand) <REG, MEM, default>: @@ -240,11 +240,13 @@ 2009-05-13 Taras Glek <tglek@mozilla.com> - * 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 <dave.korn.cygwin@gmail.com> diff --git a/gcc/attribs.c b/gcc/attribs.c index a7f549e..5b18aa3 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 1c6d583..3d5aeb0 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -7,7 +7,7 @@ 2009-05-13 David Mandelin <dmandelin@mozilla.com>: - * decl.c (duplicate_decls): Preserve parameter attributes. + * decl.c (duplicate_decls): Preserve parameter attributes. 2009-05-10 Jan Hubicka <jh@suse.cz> |