Skip to content

Bug: Cast u16 to i32 - C backend  #1950

Open
@ronnuriel

Description

@ronnuriel

We should be able to cast from u16 to i32:

Note: if any of the above error or warning messages are not clear or are lacking
context please report it to us (we consider that a bug that must be fixed).
code generation error: Cast kind 20 not implemented
   --> /home/eamiel/tmp_cp_release_01/copperhead/demo-apps/belex-direct-fragment/device/../mat_vec_device.py:128:20
    |
128 |     for i in range(i32(num_bytes)):
    |                    ^^^^^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    asrASR related changescLabel for C language related changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions