Closed wesleywiser closed 2 years ago
Is there any way to test it? Does it work to add a test code to testcrate
and run it on i686-unknown-linux-gnu
?
@wesleywiser Friendly-ping, do you have any thoughts about the above comment? Note that the testcrate currently doesn't test items correctly (see https://github.com/JohnTitor/ctest2/issues/45), so it's fine to accept w/o a test :)
Sorry! I took a look briefly the other week but couldn't quite figure out how to get a good testcase and haven't had much time to look at it again since.
If there is a disagreement on the size of the value, this can cause issues on archs that pass parameters on the stack (such as x86) leading to non-sensical errors like this:
Swapping the parameter order alleviates this: