[Issue 14453] segfault in release mode
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jul 29 01:50:53 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14453
Kenji Hara <k.hara.pg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Hardware|x86_64 |All
OS|Linux |All
Severity|enhancement |major
--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> ---
I also confirmed it in Win32.
Reduced test case:
void main()
{
auto c = new C;
c.insert();
}
class C
{
this() {}
pure nothrow // necessary
new(size_t sz)
{
void[] a = new void[](sz);
return a.ptr;
}
void insert() { }
}
--
More information about the Digitalmars-d-bugs
mailing list