diff options
| author | grischka <grischka> | 2016-10-16 11:03:57 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2016-10-16 11:03:57 +0200 |
| commit | 6245db9fca4046e568da41c6a1f8c51ee9e2f56c (patch) | |
| tree | eaeeb028e16d56ee46c2cd46ad5cdbed89df65f4 /tests | |
| parent | 4ac0e1971ede1ad3e5bf9f47fad0a8ca0e14525f (diff) | |
| download | tinycc-6245db9fca4046e568da41c6a1f8c51ee9e2f56c.tar.gz tinycc-6245db9fca4046e568da41c6a1f8c51ee9e2f56c.tar.bz2 | |
tccgen/32bits: fix unsigned long long -> int cast
gen_cast() failed to truncate long long's if they
were unsigned, which was causing mess on the vstack.
There was a similar bug here
tccgen: 32bits: fix PTR +/- long long
ed15cddacd145c74e4600af50f6616ba59ca0d8d
Both were not visible until this patch
tccgen: arm/i386: save_reg_upstack
b691585785086024549cfb9ac65f3397263965aa
I'd still assume that this patch is correct per se.
Also:
- remove 2x !nocode_wanted (we are already under a general
"else if (!nocode_wanted)" clause above).
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
