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

2018-11-23 Thread xantares09 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88156 xantares09 at hotmail dot com changed: What|Removed |Added Resolution|FIXED |INVALID --- Comment #8 fr

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

2018-11-23 Thread xantares09 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88156 xantares09 at hotmail dot com changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #7 from

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

2018-11-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88156 Richard Biener changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

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

2018-11-23 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88156 --- Comment #6 from rguenther at suse dot de --- On Fri, 23 Nov 2018, xantares09 at hotmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88156 > > --- Comment #2 from xantares09 at hotmail dot com --- > Thanks for the quick rep

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

2018-11-23 Thread xantares09 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88156 --- Comment #4 from xantares09 at hotmail dot com --- I found this in stddef.h: #ifndef __WCHAR_TYPE__ /* wchar_t is unsigned short for compatibility with MS runtime */ #define __WCHAR_TYPE__ unsigned short #endif

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

2018-11-23 Thread xantares09 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88156 --- Comment #3 from xantares09 at hotmail dot com --- Add yes, your C testcase leads to the same results.

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

2018-11-23 Thread xantares09 at hotmail dot com
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

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

2018-11-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88156 Richard Biener changed: What|Removed |Added Target||x86_64-w64-mingw32 Status|U