This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53137] [4.7/4.8 Regression] g++ segfault
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 26 Sep 2012 11:34:49 +0000
- Subject: [Bug c++/53137] [4.7/4.8 Regression] g++ segfault
- Auto-submitted: auto-generated
- References: <bug-53137-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53137
--- Comment #10 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-26 11:34:49 UTC ---
Probably wants a new bugreport, but confirmed:
(gdb) call debug_gimple_stmt (stmt)
__this.0 = __this;
and __this is
<field_decl 0x7ffff5c0c980 __this
type <pointer_type 0x7ffff5c1c888
type <record_type 0x7ffff5c1c2a0 Store type_5 type_6 QI
size <integer_cst 0x7ffff5ae0120 constant 8>
unit size <integer_cst 0x7ffff5ae0140 constant 1>
eh, a bare FIELD_DECL?!
Store::updateChild(const T&) [with T = int]::<lambda()> (const struct __lambda0
* const __closure)
{
struct Store * __this.0;
int & D.2050;
struct Store * const this [value-expr: ((const struct __lambda0 *)
__closure)->__this];
__this.0 = __this;
D.2050 = Store::getStore<int> (__this.0);
possibly confused from this.