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++/59403] New: [4.8.2] Segmentation fault in crash_signal


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

            Bug ID: 59403
           Summary: [4.8.2] Segmentation fault in crash_signal
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: boaz at alum dot mit.edu

Our project compiles OK with 4.8.1 ; however switching to 4.8.2 causes g++ to
segfault !!  When "-v -save-temps" is added to the command line options, the
compilation passes OK !!

------------------------
$ uname -a
Linux ws-boaz 2.6.18-308.el5 #1 SMP Fri Jan 27 17:17:51 EST 2012 x86_64 x86_64
x86_64 GNU/Linux

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/paraccel/gcc_4_8_2/libexec/gcc/x86_64-unknown-linux-gnu/4.8.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ./configure --prefix=/opt/paraccel/gcc_4_8_2
--enable-languages=c,c++ --disable-multilib
Thread model: posix
gcc version 4.8.2 (GCC)

-----------

$ g++ -c -g -DXEN_DEBUG -W -Wall -Werror -fdiagnostics-show-option
-Wno-error=uninitialized -Wno-error=strict-overflow -Wno-error=strict-aliasing
-Wno-unused-local-typedefs -I /home/paraccel/branches/gcc_4_8_2/obj/utils -L
/home/paraccel/branches/gcc_4_8_2/obj/utils -DLINUX -DSYS=B4_2
-I/home/paraccel/branches/gcc_4_8_2/src/pg/src/include/mb
-I/home/paraccel/branches/gcc_4_8_2/src/sys
-I/home/paraccel/branches/gcc_4_8_2/src/xen_utils
-I/home/paraccel/branches/gcc_4_8_2/src/pg/src/include/libpq
-I/home/paraccel/branches/gcc_4_8_2/src/backup
-I/home/paraccel/branches/gcc_4_8_2/src/pg/src/include/catalog
-I/home/paraccel/branches/gcc_4_8_2/src/pg/src/include/commands
-I/home/paraccel/branches/gcc_4_8_2/src/pg/src/include/storage
-I/home/paraccel/branches/gcc_4_8_2/src/pg/src/include/nodes
-I/home/paraccel/branches/gcc_4_8_2/src/pg/src/include/access
-I/home/paraccel/branches/gcc_4_8_2/src/pg/src/include/utils
-I/home/paraccel/branches/gcc_4_8_2/obj/pg
-I/home/paraccel/branches/gcc_4_8_2/src/pg/src/include
-I/home/paraccel/branches/gcc_4_8_2/src/sysmgr
-I/home/paraccel/branches/gcc_4_8_2/obj/backup
/home/paraccel/branches/gcc_4_8_2/src/backup/backupdb.cpp
In file included from
/home/paraccel/branches/gcc_4_8_2/src/xen_utils/xen_global.hpp:11:0,
                 from
/home/paraccel/branches/gcc_4_8_2/src/xen_utils/xen_except.hpp:33,
                 from
/home/paraccel/branches/gcc_4_8_2/src/backup/backupdb.cpp:32:
/home/paraccel/branches/gcc_4_8_2/src/xen_utils/bigint.hpp:17:7: internal
compiler error: Segmentation fault
 class Bigint
       ^
0x890fdf crash_signal
        ../.././gcc/toplev.c:332
0x6b2239 add_name_attribute
        ../.././gcc/dwarf2out.c:15722
0x6b2239 modified_type_die
        ../.././gcc/dwarf2out.c:10197
0x6b3c8b add_type_attribute
        ../.././gcc/dwarf2out.c:16497
0x6be2e9 gen_formal_parameter_die
        ../.././gcc/dwarf2out.c:17089
0x6bec16 gen_formal_types_die
        ../.././gcc/dwarf2out.c:17185
0x6aba6a gen_subprogram_die
        ../.././gcc/dwarf2out.c:17919
0x6afa28 gen_decl_die
        ../.././gcc/dwarf2out.c:19994
0x6b1570 gen_member_die
        ../.././gcc/dwarf2out.c:19045
0x6b1570 gen_struct_or_union_type_die
        ../.././gcc/dwarf2out.c:19117
0x6b1570 gen_tagged_type_die
        ../.././gcc/dwarf2out.c:19307
0x6b1c8e gen_type_die_with_usage
        ../.././gcc/dwarf2out.c:19454
0x6b0112 gen_decl_die
        ../.././gcc/dwarf2out.c:20017
0x7ff915 rest_of_type_compilation(tree_node*, int)
        ../.././gcc/passes.c:215
0x52c1d7 finish_struct_1(tree_node*)
        ../.././gcc/cp/class.c:6444
0x52cdfc finish_struct(tree_node*, tree_node*)
        ../.././gcc/cp/class.c:6609
0x5459c6 cp_parser_class_specifier_1
        ../.././gcc/cp/parser.c:18412
0x5459c6 cp_parser_class_specifier
        ../.././gcc/cp/parser.c:18620
0x5459c6 cp_parser_type_specifier
        ../.././gcc/cp/parser.c:13682
0x5587b5 cp_parser_decl_specifier_seq
        ../.././gcc/cp/parser.c:11007
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.
*** Error code 1


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