Commit 571943de by Richard Guenther Committed by Richard Biener

lto-symtab.c (lto_symtab_entry_marked_p): Make entry marked if the entry identifier is marked.

2010-05-10  Richard Guenther  <rguenther@suse.de>

	* lto-symtab.c (lto_symtab_entry_marked_p): Make entry
	marked if the entry identifier is marked.

From-SVN: r159216
parent 0b7b376d
2010-05-10 Richard Guenther <rguenther@suse.de> 2010-05-10 Richard Guenther <rguenther@suse.de>
* lto-symtab.c (lto_symtab_entry_marked_p): Make entry
marked if the entry identifier is marked.
2010-05-10 Richard Guenther <rguenther@suse.de>
* c-common.c (struct c_common_attributes): Add fnspec attribute. * c-common.c (struct c_common_attributes): Add fnspec attribute.
(handle_fnspec_attribute): New function. (handle_fnspec_attribute): New function.
* gimple.h (gimple_call_return_flags): Declare. * gimple.h (gimple_call_return_flags): Declare.
......
...@@ -97,9 +97,10 @@ lto_symtab_entry_marked_p (const void *p) ...@@ -97,9 +97,10 @@ lto_symtab_entry_marked_p (const void *p)
const struct lto_symtab_entry_def *base = const struct lto_symtab_entry_def *base =
(const struct lto_symtab_entry_def *) p; (const struct lto_symtab_entry_def *) p;
/* Keep this only if the decl or the chain is marked. */ /* Keep this only if the common IDENTIFIER_NODE of the symtab chain
return (ggc_marked_p (base->decl) is marked which it will be if at least one of the DECLs in the
|| (base->next && ggc_marked_p (base->next))); chain is marked. */
return ggc_marked_p (base->id);
} }
/* Lazily initialize resolution hash tables. */ /* Lazily initialize resolution hash tables. */
......
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