]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR bootstrap/53042 (AIX bootstrap: cgraph symbol table error)
authorJan Hubicka <jh@suse.cz>
Fri, 20 Apr 2012 15:18:39 +0000 (17:18 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 20 Apr 2012 15:18:39 +0000 (15:18 +0000)
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

gcc/cp/ChangeLog
gcc/cp/decl2.c

index 1bed03b73942446e22b6b9ef627e2000c74fbf2d..e9af16c9f0a70451ebcc77c63302e1e007dd70d2 100644 (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
index a190aee5d5789e00de79ce94968252bbff357efd..666669ef5063eb27d0ee67019470699d077d6ae0 100644 (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)