Commit 16f7ad42 by Taras Glek

Correct formatting errors commited in rev 147516

From-SVN: r147547
parent 0511ddbb
......@@ -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>
......
......@@ -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. */
......
......@@ -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>
......
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