template < class T > class DataArray { int max() const { } }; class Name { }; class DataHashTable { template < class ElemHashItem > class Element { }; DataArray < Element < Name > > m_elem; }; DataHashTable p; ./g++ -B. -nostdlib -fPIC -shared spxgeneralsm.3.ii -flto lto1: internal compiler error: in lto_symtab_merge_decl, at lto-symtab.c:577 DataArray<>::max is not mangled.
Subject: Bug 41547 Author: dnovillo Date: Fri Oct 2 21:31:43 2009 New Revision: 152422 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152422 Log: 2009-10-02 Diego Novillo <dnovillo@google.com> * sourcebuild.texi: Document lto-plugin. * invoke.texi: Add documentation for -use-linker-plugin and complete documentation for -flto. * install.texi: Document --enable-gold. 2009-10-02 Richard Guenther <rguenther@suse.de> PR lto/41547 PR lto/41548 * tree.h (is_lang_specific): Include LANG_TYPE. * tree.c (find_decls_types_r): Manually add interesting parts of TYPE_FIELDS. Walk BINFO_VIRTUALS. Do not walk TYPE_METHODS. testsuite/ChangeLog.lto * g++.dg/lto/20091002-1_0.C: New testcase. * g++.dg/lto/20091002-2_0.C: Likewise.. * g++.dg/lto/20091002-3_0.C: Likewise.. 2009-10-02 Diego Novillo <dnovillo@google.com> * gcc.c-torture/execute/builtins/builtins.exp: Re-enable LTO testing. 2009-10-02 Diego Novillo <dnovillo@google.com> * lto-symtab.h: Update copyright boilerplate. * plugin-api.h: Likewise. 2009-10-02 Diego Novillo <dnovillo@google.com> * Makefile.am (AM_CPPFLAGS): Remove -D_LARGEFILE_SOURCE and -D_FILE_OFFSET_BITS=64. * configure.ac: Add AC_SYS_LARGEFILE. * configure: Regenerate. * Makefile.in: Regenerate. * lto-plugin.c: Fix copyright boilerplate. 2009-10-02 Diego Novillo <dnovillo@google.com> * Makefile.am (ACLOCAL_AMFLAGS): Define. * aclocal.m4: Regenerate with aclocal-2.64 * acinclude.m4: Remove. * Makefile.in: Regenerate with automake-1.11 * configure.ac (AC_PREREQ): Update to 2.64. * configure: Regenerate. Added: branches/lto/gcc/testsuite/g++.dg/lto/20091002-1_0.C branches/lto/gcc/testsuite/g++.dg/lto/20091002-2_0.C branches/lto/gcc/testsuite/g++.dg/lto/20091002-3_0.C Removed: branches/lto/lto-plugin/acinclude.m4 Modified: branches/lto/gcc/ChangeLog.lto branches/lto/gcc/doc/install.texi branches/lto/gcc/doc/invoke.texi branches/lto/gcc/doc/sourcebuild.texi branches/lto/gcc/testsuite/ChangeLog.lto branches/lto/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp branches/lto/gcc/tree.c branches/lto/gcc/tree.h branches/lto/include/ChangeLog.lto branches/lto/include/lto-symtab.h branches/lto/include/plugin-api.h branches/lto/lto-plugin/ChangeLog branches/lto/lto-plugin/Makefile.am branches/lto/lto-plugin/Makefile.in branches/lto/lto-plugin/aclocal.m4 branches/lto/lto-plugin/configure branches/lto/lto-plugin/configure.ac branches/lto/lto-plugin/lto-plugin.c
Fixed.