Skip to content

Both operands to a binary operator are not of the same type! #25

@ariovistus

Description

@ariovistus

on fedora 16 x86_64, I compile me some code like so:

ldc2 dis.d ~/mercurial/my-deimos/wrapper/udis86.d -op -oq -of dis ~/mercurial/my-deimos/deimos/udis86.d

and for my labors, I am rewarded with err.. this:

mercurial/my-deimos/deimos/udis86.d: Error: module deimos.udis86 Both operands to a binary operator are not of the same type!
%tmp7 = or i8 %tmp6, i32 1
Instruction does not dominate all uses!
%tmp7 = or i8 %tmp6, i32 1
store i8 %tmp7, i8* %tmp5
Both operands to a binary operator are not of the same type!
%tmp12 = and i8 %tmp11, i32 -2
Instruction does not dominate all uses!
%tmp12 = and i8 %tmp11, i32 -2
store i8 %tmp12, i8* %tmp10
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Both operands to a binary operator are not of the same type!
%tmp7 = or i8 %tmp6, i32 2
Instruction does not dominate all uses!
%tmp7 = or i8 %tmp6, i32 2
store i8 %tmp7, i8* %tmp5
Both operands to a binary operator are not of the same type!
%tmp12 = and i8 %tmp11, i32 -3
Instruction does not dominate all uses!
%tmp12 = and i8 %tmp11, i32 -3
store i8 %tmp12, i8* %tmp10
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Both operands to a binary operator are not of the same type!
%tmp7 = or i8 %tmp6, i32 4
Instruction does not dominate all uses!
%tmp7 = or i8 %tmp6, i32 4
store i8 %tmp7, i8* %tmp5
Both operands to a binary operator are not of the same type!
%tmp12 = and i8 %tmp11, i32 -5
Instruction does not dominate all uses!
%tmp12 = and i8 %tmp11, i32 -5
store i8 %tmp12, i8* %tmp10
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Both operands to a binary operator are not of the same type!
%tmp7 = or i8 %tmp6, i32 8
Instruction does not dominate all uses!
%tmp7 = or i8 %tmp6, i32 8
store i8 %tmp7, i8* %tmp5
Both operands to a binary operator are not of the same type!
%tmp12 = and i8 %tmp11, i32 -9
Instruction does not dominate all uses!
%tmp12 = and i8 %tmp11, i32 -9
store i8 %tmp12, i8* %tmp10
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Both operands to a binary operator are not of the same type!
%tmp7 = or i8 %tmp6, i32 16
Instruction does not dominate all uses!
%tmp7 = or i8 %tmp6, i32 16
store i8 %tmp7, i8* %tmp5
Both operands to a binary operator are not of the same type!
%tmp12 = and i8 %tmp11, i32 -17
Instruction does not dominate all uses!
%tmp12 = and i8 %tmp11, i32 -17
store i8 %tmp12, i8* %tmp10
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.
Broken module found, compilation terminated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions