cparser icon indicating copy to clipboard operation
cparser copied to clipboard

[AMD64] cparser fails to compile some long double code

Open GabrielRavier opened this issue 5 years ago • 0 comments

double g(double);

void f(long double x, long double y)
{
    g(y < 0 ? x : y) != g(y < 0 ? x : y);
}

cparser outputs this :

/tmp/fMysSN/a-0.s: Assembler messages:
/tmp/fMysSN/a-0.s:38: Error: invalid instruction suffix for `push'
/tmp/fMysSN/a-0.s:40: Error: invalid instruction suffix for `pop'
/tmp/fMysSN/a-0.s: error: assembler reported an error
1 error(s), 2 warning(s)

GabrielRavier avatar Jun 05 '20 09:06 GabrielRavier