public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/59403] New: [4.8.2] Segmentation fault in crash_signal
@ 2013-12-05 23:53 boaz at alum dot mit.edu
  2013-12-06 10:29 ` [Bug c++/59403] " rguenth at gcc dot gnu.org
  2013-12-07  3:30 ` boaz at alum dot mit.edu
  0 siblings, 2 replies; 3+ messages in thread
From: boaz at alum dot mit.edu @ 2013-12-05 23:53 UTC (permalink / raw)
  To: gcc-bugs

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


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

* [Bug c++/59403] [4.8.2] Segmentation fault in crash_signal
  2013-12-05 23:53 [Bug c++/59403] New: [4.8.2] Segmentation fault in crash_signal boaz at alum dot mit.edu
@ 2013-12-06 10:29 ` rguenth at gcc dot gnu.org
  2013-12-07  3:30 ` boaz at alum dot mit.edu
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-12-06 10:29 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2013-12-06
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Are you using precompiled headers?


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

* [Bug c++/59403] [4.8.2] Segmentation fault in crash_signal
  2013-12-05 23:53 [Bug c++/59403] New: [4.8.2] Segmentation fault in crash_signal boaz at alum dot mit.edu
  2013-12-06 10:29 ` [Bug c++/59403] " rguenth at gcc dot gnu.org
@ 2013-12-07  3:30 ` boaz at alum dot mit.edu
  1 sibling, 0 replies; 3+ messages in thread
From: boaz at alum dot mit.edu @ 2013-12-07  3:30 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Boaz Ben-Zvi <boaz at alum dot mit.edu> ---
(In reply to Richard Biener from comment #1)
> Are you using precompiled headers?

 Our project builds some *.gch files for later use; I don't think that the
compilation that failed was using any precompiled header.


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

end of thread, other threads:[~2013-12-07  3:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-05 23:53 [Bug c++/59403] New: [4.8.2] Segmentation fault in crash_signal boaz at alum dot mit.edu
2013-12-06 10:29 ` [Bug c++/59403] " rguenth at gcc dot gnu.org
2013-12-07  3:30 ` boaz at alum dot mit.edu

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