[Bug tree-optimization/88156] ftree-vrp elides sign condition on mingw

xantares09 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Fri Nov 23 09:59:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88156

--- Comment #2 from xantares09 at hotmail dot com ---
Thanks for the quick reply.

On mingw __WCHAR_TYPE__ expands to short unsigned int:

$ x86_64-w64-mingw32-gcc -E main.c
...
# 3 "main.cxx"
int string_hash(const short unsigned int* data) {


On x86_64-linux it expands to int:
$ gcc -E main.c
...
# 3 "main.c"
int string_hash(const int* data) {


More information about the Gcc-bugs mailing list