Skip to content

Shift operators are undefined in some situations #1888

@brson

Description

@brson

When shifting by greater than the bit width of the type or negative values, the results are undefined. As discussed in #1570, it might be nice if this was not the case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationC-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions