From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13965 invoked by alias); 5 Dec 2013 23:53:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 13939 invoked by uid 48); 5 Dec 2013 23:53:10 -0000 From: "boaz at alum dot mit.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/59403] New: [4.8.2] Segmentation fault in crash_signal Date: Thu, 05 Dec 2013 23:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: boaz at alum dot mit.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-12/txt/msg00445.txt.bz2 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 for instructions. *** Error code 1