Both signed and unsigned chars are promoted to int by C's evaluation rules. It is more efficient to use unsigned operations when possible, however. These tests will help test the correctness of optimizations doing that. See #1308.