[Issue 19268] New: BetterC turns off DRuntime for CTFE
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 26 12:50:56 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19268
Issue ID: 19268
Summary: BetterC turns off DRuntime for CTFE
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: regression
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: ilyayaroshenko at gmail.com
dmd -betterC
mixin(`void foo(){}`.idup);
---
pass in DMD 2.78
fails in DMD >=2.79
/opt/compiler-explorer/dmd-2.079.0/dmd2/linux/bin64/../../src/druntime/import/object.d(4259):
Error: `TypeInfo` cannot be used with -betterC
This cause BetterC regression in mir.bitmanip and mir-cpuid. The workaround for
mir.bitmanip was added to mir-algorithm v2.0.6.
--
More information about the Digitalmars-d-bugs
mailing list