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
* [Bug c++/49569] -std=gnu++0x causes segmentation fault
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 ` rguenth at gcc dot gnu.org
2011-06-30 22:15 ` jason at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-29 9:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49569
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.06.29 09:45:13
Ever Confirmed|0 |1
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-06-29 09:45:13 UTC ---
Confirmed.
Program received signal SIGSEGV, Segmentation fault.
0x000000000153f74f in iterative_hash (k_in=0x8, length=4, initval=1903883354)
at /space/rguenther/src/svn/trunk/libiberty/hashtab.c:981
981 case 4 : a+=((hashval_t)k[3]<<24);
(gdb) up
#1 0x000000000054d5aa in iterative_hash_template_arg (arg=0x2aaab3323bb0,
val=1903883354) at /space/rguenther/src/svn/trunk/gcc/cp/pt.c:1539
1539 val = iterative_hash_object (DECL_PARM_INDEX (arg), val);
(gdb) call debug_tree (arg)
<parm_decl 0x2aaab3323bb0 D.143765
type <reference_type 0x2aaab3324690
type <record_type 0x2aaab32bb738 MD5Buf readonly addressable tree_2
needs-constructing type_1 type_4 type_5 type_6 BLK
size <integer_cst 0x2aaaaab08780 constant 192>
unit size <integer_cst 0x2aaaaab08740 constant 24>
align 64 symtab 0 alias set -1 canonical type 0x2aaab32bb738 fields
<field_decl 0x2aaab32b4688 D.142718> context <translation_unit_decl
0x2aaaaaafb958 D.1>
full-name "const class MD5Buf"
needs-constructor needs-destructor X() X(constX&) this=(X&)
n_parents=1 use_template=0 interface-unknown
pointer_to_this <pointer_type 0x2aaab32bb888> reference_to_this
<reference_type 0x2aaab3324690>>
unsigned type_6 DI
size <integer_cst 0x2aaaaaaeff40 constant 64>
unit size <integer_cst 0x2aaaaaaeff60 constant 8>
align 64 symtab 0 alias set -1 canonical type 0x2aaab3324690>
readonly unsigned DI file src/playerdata.h line 66 col 112 size
<integer_cst 0x2aaaaaaeff40 64> unit size <integer_cst 0x2aaaaaaeff60 8>
align 64 context <function_decl 0x2aaab3322e00 MD5Buf> arg-type
<reference_type 0x2aaab3324690>>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/49569] -std=gnu++0x causes segmentation fault
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
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2011-06-30 22:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49569
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |jason at gcc dot gnu.org
AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org
|gnu.org |
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/49569] [4.7 regression] -std=gnu++0x causes segmentation fault
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 ` jason at gcc dot gnu.org
2011-07-01 0:06 ` jason at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2011-07-01 0:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49569
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-07-01 00:04:02 UTC ---
Author: jason
Date: Fri Jul 1 00:03:58 2011
New Revision: 175738
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175738
Log:
PR c++/49569
* method.c (implicitly_declare_fn): Set DECL_PARM_LEVEL and
DECL_PARM_INDEX on rhs parm.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/regress/ctor1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/method.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/49569] [4.7 regression] -std=gnu++0x causes segmentation fault
2011-06-28 19:25 [Bug c++/49569] New: -std=gnu++0x causes segmentation fault dcb314 at hotmail dot com
` (2 preceding siblings ...)
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
5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2011-07-01 0:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49569
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.7.0
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-07-01 00:06:10 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/49569] [4.7 regression] -std=gnu++0x causes segmentation fault
2011-06-28 19:25 [Bug c++/49569] New: -std=gnu++0x causes segmentation fault dcb314 at hotmail dot com
` (3 preceding siblings ...)
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
5 siblings, 0 replies; 7+ messages in thread
From: dcb314 at hotmail dot com @ 2012-07-04 19:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49569
dcb <dcb314 at hotmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #4 from dcb <dcb314 at hotmail dot com> 2012-07-04 19:42:51 UTC ---
I just checked trunk-20120704 and this bug seems to have reappeared.
Strange, it seemed still fixed as recently as trunk-20120701.
Suggest try original source code I supplied.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/49569] [4.7 regression] -std=gnu++0x causes segmentation fault
2011-06-28 19:25 [Bug c++/49569] New: -std=gnu++0x causes segmentation fault dcb314 at hotmail dot com
` (4 preceding siblings ...)
2012-07-04 19:43 ` dcb314 at hotmail dot com
@ 2012-07-04 19:59 ` jason at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2012-07-04 19:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49569
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-04 19:59:28 UTC ---
The new failure with the original testcase is the same as PR 53848, a different
bug than it was hitting before.
^ 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).