Skip to content

cparser aborts on asm with weird operands #50

@GabrielRavier

Description

@GabrielRavier
void f(int a)
{
  asm("" : : ""(a));
}

cparser outputs this :

cparser: src/firm/ast2firm.c:4664: asm_statement_to_firm: Assertion `argument->indirect_read' failed.
Aborted (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions