public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/41547]  New: ICEs in lto_symtab_merge_decl, at lto-symtab.c:577
@ 2009-10-02 14:25 rguenth at gcc dot gnu dot org
  2009-10-02 21:32 ` [Bug lto/41547] " dnovillo at gcc dot gnu dot org
  2009-10-02 22:18 ` rguenth at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-02 14:25 UTC (permalink / raw)
  To: gcc-bugs

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.


-- 
           Summary: ICEs in lto_symtab_merge_decl, at lto-symtab.c:577
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41547


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug lto/41547] ICEs in lto_symtab_merge_decl, at lto-symtab.c:577
  2009-10-02 14:25 [Bug lto/41547] New: ICEs in lto_symtab_merge_decl, at lto-symtab.c:577 rguenth at gcc dot gnu dot org
@ 2009-10-02 21:32 ` dnovillo at gcc dot gnu dot org
  2009-10-02 22:18 ` rguenth at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2009-10-02 21:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dnovillo at gcc dot gnu dot org  2009-10-02 21:31 -------
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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41547


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug lto/41547] ICEs in lto_symtab_merge_decl, at lto-symtab.c:577
  2009-10-02 14:25 [Bug lto/41547] New: ICEs in lto_symtab_merge_decl, at lto-symtab.c:577 rguenth at gcc dot gnu dot org
  2009-10-02 21:32 ` [Bug lto/41547] " dnovillo at gcc dot gnu dot org
@ 2009-10-02 22:18 ` rguenth at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-02 22:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-10-02 22:18 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41547


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-10-02 22:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-02 14:25 [Bug lto/41547] New: ICEs in lto_symtab_merge_decl, at lto-symtab.c:577 rguenth at gcc dot gnu dot org
2009-10-02 21:32 ` [Bug lto/41547] " dnovillo at gcc dot gnu dot org
2009-10-02 22:18 ` rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).