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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88156
Richard Biener changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
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
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
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.
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88156
Richard Biener changed:
What|Removed |Added
Target||x86_64-w64-mingw32
Status|U