diff options
| author | Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com> | 2016-10-10 20:15:20 +0100 |
|---|---|---|
| committer | Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com> | 2016-10-10 20:15:20 +0100 |
| commit | 94d8d12c26de54d9ab14c34820967861352773ab (patch) | |
| tree | 6debfa9fb0ff14e0e9cc9c642cfa4d56c6021124 /include/stdbool.h | |
| parent | 5a0ca53a4a87252ad4fdb442ec3daaa6b00ec2e2 (diff) | |
| download | tinycc-94d8d12c26de54d9ab14c34820967861352773ab.tar.gz tinycc-94d8d12c26de54d9ab14c34820967861352773ab.tar.bz2 | |
Fix handling of case_reg in switch statement.
The back end functions gen_op(comparison) and gtst() might allocate
registers so case_reg should be left on the value stack while they
are called and set again afterwards.
This bug fix was first applied as ff3f9aa (20 Feb 2015), but the fix
was reverted by fc0fc6a (21 Sep 2016, "switch: collect case ranges
first, then generate code"). Here the fix is updated for the new code.
Diffstat (limited to 'include/stdbool.h')
0 files changed, 0 insertions, 0 deletions
