PR opt/14980
* cgraphunit.c (cgraph_remove_unreachable_nodes): Deal properly with
inline clones.
From-SVN: r81540
+2004-05-05 Jan Hubicka <jh@suse.cz>
+
+ PR opt/14980
+ * cgraphunit.c (cgraph_remove_unreachable_nodes): Deal properly with
+ inline clones.
+
2004-05-05 H.J. Lu <hongjiu.lu@intel.com>
PR target/15290
abort ();
#endif
for (node = cgraph_nodes; node; node = node->next)
- if (node->needed && (!DECL_EXTERNAL (node->decl) || !node->analyzed))
+ if (node->needed && !node->global.inlined_to
+ && (!DECL_EXTERNAL (node->decl) || !node->analyzed))
{
node->aux = first;
first = node;
int local_insns;
tree decl = node->decl;
+ node->global.inlined_to = NULL;
if (DECL_STRUCT_FUNCTION (decl))
local_insns = node->local.self_insns;
else