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
This commit is contained in:
Jan Hubicka 2012-04-20 17:18:39 +02:00 committed by Jan Hubicka
parent c522573e04
commit b7262828c0
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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

View File

@ -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)