This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/69136] New: [6 Regression] ICE in lto_symtab_prevailing_virtual_decl, at lto/lto-symtab.c:991


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69136

            Bug ID: 69136
           Summary: [6 Regression] ICE in
                    lto_symtab_prevailing_virtual_decl, at
                    lto/lto-symtab.c:991
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

Hi

$ cat skia.ii 
class GrBufferAllocPool {
  virtual ~GrBufferAllocPool();
};
GrBufferAllocPool::~GrBufferAllocPool() { static long a; }

$ c++ skia.ii -flto
lto1: internal compiler error: in lto_symtab_prevailing_virtual_decl, at
lto/lto-symtab.c:991
0x60cd49 lto_symtab_prevailing_virtual_decl(tree_node*)
        ../../gcc/lto/lto-symtab.c:990
0x5f6f65 lto_symtab_prevailing_decl(tree_node*)
        ../../gcc/lto/lto-symtab.h:53
0x5f6f65 lto_fixup_prevailing_decls
        ../../gcc/lto/lto.c:2544
0x6019be lto_fixup_decls
        ../../gcc/lto/lto.c:2664
0x6019be read_cgraph_and_symbols
        ../../gcc/lto/lto.c:2897
0x6019be lto_main()
        ../../gcc/lto/lto.c:3304

Thanks,
Martin

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]