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 c++/72809] New: ICE on x86_64-linux-gnu (Segmentation fault, tree_check)


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

            Bug ID: 72809
           Summary: ICE on x86_64-linux-gnu (Segmentation fault,
                    tree_check)
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: chengniansun at gmail dot com
  Target Milestone: ---

$ g++-trunk -v
Using built-in specs.
COLLECT_GCC=g++-trunk
COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/7.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto
--prefix=/usr/local/gcc-trunk --disable-bootstrap
Thread model: posix
gcc version 7.0.0 20160805 (experimental) [trunk revision 239162] (GCC)
$ g++-trunk small.C
small.C:4:1: internal compiler error: Segmentation fault
 }
 ^
0xdb464f crash_signal
        ../../gcc-source-trunk/gcc/toplev.c:335
0x7ce965 tree_check(tree_node*, char const*, int, char const*, tree_code)
        ../../gcc-source-trunk/gcc/tree.h:3022
0x7ce965 get_pseudo_ti_index
        ../../gcc-source-trunk/gcc/cp/rtti.c:1296
0x7cedf7 get_tinfo_decl(tree_node*)
        ../../gcc-source-trunk/gcc/cp/rtti.c:421
0x7cf1d5 get_tinfo_ptr
        ../../gcc-source-trunk/gcc/cp/rtti.c:456
0x7d1224 ptr_initializer
        ../../gcc-source-trunk/gcc/cp/rtti.c:989
0x7d1224 get_pseudo_ti_init
        ../../gcc-source-trunk/gcc/cp/rtti.c:1100
0x7d1224 emit_tinfo_decl(tree_node*)
        ../../gcc-source-trunk/gcc/cp/rtti.c:1599
0x778594 c_parse_final_cleanups()
        ../../gcc-source-trunk/gcc/cp/decl2.c:4643
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.
$
$ cat small.C
void fn1() {
  __builtin_va_list a;
  throw(a);
}
$

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