mirror of
https://github.com/frida/tinycc
synced 2025-01-12 14:49:18 +03:00
9ca9c82ff8
Sometimes the result of a comparison is not directly used in a jump, but in arithmetic or further comparisons. If those further things do a vswap() with the VT_CMP as current top, and then generate instructions for the new top, this most probably destroys the flags (e.g. if it's a bitfield load like in the example). vswap() must do the same like vsetc() and not allow VT_CMP vtops to be moved down. |
||
---|---|---|
.. | ||
asmtest.S | ||
boundtest.c | ||
gcctestsuite.sh | ||
libtcc_test.c | ||
Makefile | ||
tcctest.c |