Commit 7cbf224d by Richard Guenther Committed by Richard Biener

re PR translation/52193 (Bad translatable string: failed to reclaim unneeded…

re PR translation/52193 (Bad translatable string: failed to reclaim unneeded functionin same comdat group)

2012-02-10  Richard Guenther  <rguenther@suse.de>

	PR translation/52193
	* cgraphunit.c (cgraph_mark_functions_to_output): Fix typo.

From-SVN: r184086
parent 9e019389
2012-02-10 Richard Guenther <rguenther@suse.de>
PR translation/52193
* cgraphunit.c (cgraph_mark_functions_to_output): Fix typo.
2012-02-09 Peter Bergner <bergner@vnet.ibm.com> 2012-02-09 Peter Bergner <bergner@vnet.ibm.com>
PR middle-end/52140 PR middle-end/52140
......
...@@ -1430,14 +1430,16 @@ cgraph_mark_functions_to_output (void) ...@@ -1430,14 +1430,16 @@ cgraph_mark_functions_to_output (void)
tree decl = node->decl; tree decl = node->decl;
if (!node->global.inlined_to if (!node->global.inlined_to
&& gimple_has_body_p (decl) && gimple_has_body_p (decl)
/* FIXME: in ltrans unit when offline copy is outside partition but inline copies /* FIXME: in an ltrans unit when the offline copy is outside a
are inside partition, we can end up not removing the body since we no longer partition but inline copies are inside a partition, we can
have analyzed node pointing to it. */ end up not removing the body since we no longer have an
analyzed node pointing to it. */
&& !node->in_other_partition && !node->in_other_partition
&& !DECL_EXTERNAL (decl)) && !DECL_EXTERNAL (decl))
{ {
dump_cgraph_node (stderr, node); dump_cgraph_node (stderr, node);
internal_error ("failed to reclaim unneeded functionin same comdat group"); internal_error ("failed to reclaim unneeded function in same "
"comdat group");
} }
} }
#endif #endif
......
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