3 A bug in the stm8 peephole optimizer for functions calls through function pointers where the caller has no non-pointer calls, and the callee has register arguments.
12 int (*volatile twocharargptr
)(char, char) __raisonance __reentrant
;
16 return (*twocharargptr
)(23, 42);
19 int twochararg(char a
, char b
) __raisonance __reentrant
27 twocharargptr
= &twochararg
;
28 ASSERT (f() == 23 + 42);