[Issue 17726] Older DMD versions segfault when building Druntime with GCC 7.1
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Aug 6 19:47:05 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=17726
--- Comment #3 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
Minimal object.d:
////////////////// object_.d //////////////////
module object;
class Object {}
struct OffsetTypeInfo {}
class TypeInfo {}
class TypeInfo_Class { void[136] foo = void; }
class TypeInfo_Struct { void[120] foo = void; }
struct ModuleInfo {}
auto fun()
{
return (cast(int*)null)[0 .. 1];
}
///////////////////////////////////////////////
`dmd -c -m64 object_.d` will segfault if dmd was built with GCC 7.1 and -O2.
--
More information about the Digitalmars-d-bugs
mailing list