bugzilla.gdcproject.org: No confirmation mail; cpuid.d:838:17: error: PIC register clobbered by 'ebx' in ' asm'

kdevel kdevel at vogtner.de
Sun Feb 25 00:05:44 UTC 2018


On Friday, 23 February 2018 at 07:48:47 UTC, Johannes Pfau wrote:
> Am Thu, 22 Feb 2018 21:34:34 +0000
> schrieb kdevel <kdevel at vogtner.de>:
>
>> On Thursday, 22 February 2018 at 19:52:12 UTC, Johannes Pfau 
>> wrote:
>> > I've pushed an update to the gdc-4.9 branch. Please report 
>> > back whether this fixes the issue.
>> 
>> Not really:
>> 
>
> Looks like you're at commit 
> c8ccdcfd1abf15b95b64821d5173e79f76c9dafe,
> which is a broken version I accidentally committed.
> The next commit, 8a6b7a49ff9d4233e637a6a7e1ca4c1978540060, 
> should fix
> this problem.

It does. Now I have an issue with a language feature. With dmd 
v2.078.2 this
code compiles:

void function () [string] disp;
static this () {
    enum typenames = ["float", "double", "real", "short", "int", 
"long"];
    static foreach (s; typenames) {
       pragma (msg, s);
       disp[s] = mixin ("&mymain!" ~ s);
    }
}

but gdc (GCC 4.9.4) complains:

dotbench.d:65:11: Fehler: basic type expected, not foreach
     static foreach (s; typenames) {
            ^
dotbench.d:65:11: Fehler: no identifier for declarator _error_
     static foreach (s; typenames) {
            ^





More information about the D.gnu mailing list