libfirm / cparser

C99 parser and frontend for libfirm
http://pp.ipd.kit.edu/firm
GNU General Public License v2.0
336 stars 38 forks source link

cparser aborts on asm with weird operands #50

Open GabrielRavier opened 4 years ago

GabrielRavier commented 4 years ago
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)