For support/regression/tests/gcc-torture-execute-func-ptr-1.c I get the following error message:
"Functions called via pointers must be 'reentrant' to take this many arguments", even though there is just a single argument. The reproduce: Remove the #ifndef SDCC_hc08.
Philipp
Even though there is only one argument it is still more than 2 bytes which is the max the hc08 supports (registers A and X). At best the error message is not descriptive enough.
And why not make the test function explicitly reentrant using the __reentrant keyword? What is this test trying to test anyway that isn't covered yet?