testsuite: Remove fragile stack pointer checks
authorJosh Triplett <josh@joshtriplett.org>
Sun, 16 Mar 2014 09:31:19 +0000 (02:31 -0700)
committerJosh Triplett <josh@joshtriplett.org>
Sun, 16 Mar 2014 11:45:37 +0000 (04:45 -0700)
commit9c279328ee12fc869adff63ca81f1230977bd42b
treec65fe7e9747b637f17c271ad7f6eb14b1c6a9a6d
parent82f8cb24a1d976db35ae31a4b86cec8926da327d
testsuite: Remove fragile stack pointer checks

testsuite/libffi.call/closure_stdcall.c and
testsuite/libffi.call/closure_thiscall.c include inline assembly to save
the stack pointer before and after the call, and compare the values.
However, compilers can and do leave the stack in different states for
these two pieces of inline assembly, such as by saving a temporary value
on the stack across the call; observed with gcc -Os, and verified as
spurious through careful inspection of disassembly.
testsuite/libffi.call/closure_stdcall.c
testsuite/libffi.call/closure_thiscall.c