public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/58300] New: ICE: in decide_is_symbol_needed, at cgraphunit.c:233 with -fvtable-verify=preinit on invalid code
@ 2013-09-02 20:01 zsojka at seznam dot cz
  2013-09-03  6:36 ` [Bug c++/58300] " mpolacek at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: zsojka at seznam dot cz @ 2013-09-02 20:01 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58300
           Summary: ICE: in decide_is_symbol_needed, at cgraphunit.c:233
                    with -fvtable-verify=preinit on invalid code
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz

Created attachment 30742
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30742&action=edit
reduced testcase

Compiler output:
$ gcc -fvtable-verify=preinit testcase.C 
testcase.C:2:1: error: explicit specialization of non-template 'A'
 {
 ^
testcase.C:4:2: internal compiler error: in decide_is_symbol_needed, at
cgraphunit.c:233
 };
  ^
0x887ed8 decide_is_symbol_needed(symtab_node_def*)
        /mnt/svn/gcc-trunk/gcc/cgraphunit.c:232
0x888468 cgraph_finalize_function(tree_node*, bool)
        /mnt/svn/gcc-trunk/gcc/cgraphunit.c:459
0x889f69 cgraph_process_new_functions()
        /mnt/svn/gcc-trunk/gcc/cgraphunit.c:306
0x79d756 vtv_generate_init_routine()
        /mnt/svn/gcc-trunk/gcc/cp/vtable-class-hierarchy.c:1190
0x68fc46 cp_write_global_declarations()
        /mnt/svn/gcc-trunk/gcc/cp/decl2.c:4373
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.


$ gcc -v                                 
Using built-in specs.
COLLECT_GCC=/mnt/svn/gcc-trunk/binary-latest/bin/gcc
COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-202158-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /mnt/svn/gcc-trunk//configure --enable-checking=yes,rtl,df
--enable-languages=c,c++,lto,fortran
--prefix=/mnt/svn/gcc-trunk/binary-202158-lto-fortran-checking-yes-rtl-df/
--without-cloog --without-ppl
Thread model: posix
gcc version 4.9.0 20130902 (experimental) (GCC)


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

end of thread, other threads:[~2013-09-08 22:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-02 20:01 [Bug c++/58300] New: ICE: in decide_is_symbol_needed, at cgraphunit.c:233 with -fvtable-verify=preinit on invalid code zsojka at seznam dot cz
2013-09-03  6:36 ` [Bug c++/58300] " mpolacek at gcc dot gnu.org
2013-09-03  6:55 ` mpolacek at gcc dot gnu.org
2013-09-03  7:01 ` mpolacek at gcc dot gnu.org
2013-09-03 22:25 ` cmtice at google dot com
2013-09-05 14:16 ` paolo.carlini at oracle dot com
2013-09-05 22:17 ` cmtice at google dot com
2013-09-05 22:38 ` cmtice at google dot com
2013-09-05 22:39 ` cmtice at google dot com
2013-09-08 21:58 ` ctice at gcc dot gnu.org
2013-09-08 22:01 ` cmtice at google dot com

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