* 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>:
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>
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. */
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>