Commit b7262828 by Jan Hubicka Committed by Jan Hubicka

re PR bootstrap/53042 (AIX bootstrap: cgraph symbol table error)

	PR target/53042
	* decl2.c (maybe_emit_vtables): Do not initialize same_comdat_group
	list when target has no support for it.

From-SVN: r186627
parent c522573e
2012-04-20 Jan Hubicka <jh@suse.cz>
PR target/53042
* decl2.c (maybe_emit_vtables): Do not initialize same_comdat_group
list when target has no support for it.
2012-04-20 Michael Matz <matz@suse.de>
* error.c (pedwarn_cxx98): Move va_end call after user
......
......@@ -1894,7 +1894,7 @@ maybe_emit_vtables (tree ctype)
actually marking the variable as written. */
if (flag_syntax_only)
TREE_ASM_WRITTEN (vtbl) = 1;
else if (DECL_COMDAT (vtbl))
else if (DECL_ONE_ONLY (vtbl))
{
current = varpool_node (vtbl);
if (last)
......
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