From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20692 invoked by alias); 28 Jun 2011 19:25:09 -0000 Received: (qmail 20681 invoked by uid 22791); 28 Jun 2011 19:25:08 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,POKER_BODY X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 28 Jun 2011 19:24:55 +0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/49569] New: -std=gnu++0x causes segmentation fault X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 28 Jun 2011 19:25:00 -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 X-SW-Source: 2011-06/txt/msg02770.txt.bz2 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 for instructions. gdb says Program received signal SIGSEGV, Segmentation fault. iterative_hash (k_in=, length=, initval=) 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
Preprocessed source code attached. Flag -std=gnu++0x required.