Fixes for issues I've just found/introduced to x86 TCC.
commit83fd36333a691050663a15c07b385bdf554bf01d
authorShinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>
Wed, 15 Apr 2009 17:34:59 +0000 (16 02:34 +0900)
committergrischka <grischka>
Sat, 18 Apr 2009 13:08:01 +0000 (18 15:08 +0200)
tree062bf6d4eb06e488b05439ca2040a178b15d3a27
parentbe43c8e0ed22faa6c89c6e551f2a07512673d60d
Fixes for issues I've just found/introduced to x86 TCC.

- Cast from pointer to long long makes TCC output an error. Use cast to int before we apply shift operation for a pointer value.
- Removed test cases for casts from pointer to char/short because they produce warning.
tcc.c
tcctest.c