public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/49569] New: -std=gnu++0x causes segmentation fault
@ 2011-06-28 19:25 dcb314 at hotmail dot com
  2011-06-29  9:45 ` [Bug c++/49569] " rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dcb314 at hotmail dot com @ 2011-06-28 19:25 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: -std=gnu++0x causes segmentation fault
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dcb314@hotmail.com


Created attachment 24623
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24623
gzipped C++ source code

I just tried to compile the pokerth-0.8.3-6.fc16  package with the latest
trunk snapshot 20110625 on an AMD x86_64 box.

The compiler said

./include/c++/4.7.0/bits/stl_pair.h:137:45: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

gdb says

Program received signal SIGSEGV, Segmentation fault.
iterative_hash (k_in=<optimized out>, length=<optimized out>,
    initval=<optimized out>)
    at ../../src/gcc-4.7-20110625/libiberty/hashtab.c:981
981     case 4 : a+=((hashval_t)k[3]<<24);
Missing separate debuginfos, use: debuginfo-install glibc-2.13.90-13.x86_64
gmp-4.3.2-3.fc15.x86_64 mpfr-3.0.0-4.fc15.x86_64
(gdb) p k
$1 = (const unsigned char *) 0x8 <Address 0x8 out of bounds>

Preprocessed source code attached. Flag -std=gnu++0x required.


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

end of thread, other threads:[~2012-07-04 19:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-28 19:25 [Bug c++/49569] New: -std=gnu++0x causes segmentation fault dcb314 at hotmail dot com
2011-06-29  9:45 ` [Bug c++/49569] " rguenth at gcc dot gnu.org
2011-06-30 22:15 ` jason at gcc dot gnu.org
2011-07-01  0:05 ` [Bug c++/49569] [4.7 regression] " jason at gcc dot gnu.org
2011-07-01  0:06 ` jason at gcc dot gnu.org
2012-07-04 19:43 ` dcb314 at hotmail dot com
2012-07-04 19:59 ` jason at gcc dot gnu.org

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