https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121470
--- Comment #10 from Segher Boessenkool <segher at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #8) > (In reply to Segher Boessenkool from comment #7) > > Please stop the vandalism. This is NOT a dup. > > How is it not? > (unsigned char)0x80 vs (unsigned short)0x8000 that is the only difference > between the two bug reports? That "unsigned char" is a negative number in GCC internal representation. But 32768 is not negative.