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

            Bug ID: 66188
           Summary: gcc crashed when compiling programs
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zhangbiao2000 at yeah dot net
  Target Milestone: ---

I built and installed gcc 4.9.2 on CentOS 6.5 with following steps:
../configure --enable-languages=c,c++ --disable-multilib
make -j4
make install

I build it with gcc 4.4.7 and it seems the installation is successful.

But when I use the new gcc build my program it crashed with the following
backtrace:

g++: internal compiler error: Killed (program cc1plus)
0x409edc execute
        ../../gcc/gcc.c:2854
0x40a2a4 do_spec_1
        ../../gcc/gcc.c:4658
0x40cb66 process_brace_body
        ../../gcc/gcc.c:5941
0x40cb66 handle_braces
        ../../gcc/gcc.c:5855
0x40b119 do_spec_1
        ../../gcc/gcc.c:5312
0x40cb66 process_brace_body
        ../../gcc/gcc.c:5941
0x40cb66 handle_braces
        ../../gcc/gcc.c:5855
0x40b119 do_spec_1
        ../../gcc/gcc.c:5312
0x40ae83 do_spec_1
        ../../gcc/gcc.c:5427
0x40cb66 process_brace_body
        ../../gcc/gcc.c:5941
0x40cb66 handle_braces
        ../../gcc/gcc.c:5855
0x40b119 do_spec_1
        ../../gcc/gcc.c:5312
0x40cb66 process_brace_body
        ../../gcc/gcc.c:5941
0x40cb66 handle_braces
        ../../gcc/gcc.c:5855
0x40b119 do_spec_1
        ../../gcc/gcc.c:5312
0x40cb66 process_brace_body
        ../../gcc/gcc.c:5941
0x40cb66 handle_braces
        ../../gcc/gcc.c:5855
0x40b119 do_spec_1
        ../../gcc/gcc.c:5312
0x40cb66 process_brace_body
        ../../gcc/gcc.c:5941
0x40cb66 handle_braces
        ../../gcc/gcc.c:5855

Reply via email to