https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103089
xantares09 at hotmail dot com changed:
What|Removed |Added
Resolution|--- |INVALID
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103089
--- Comment #2 from xantares09 at hotmail dot com ---
indeed, I assumed both were positive, I guess there's no bug then
Assignee: unassigned at gcc dot gnu.org
Reporter: xantares09 at hotmail dot com
Target Milestone: ---
Created attachment 51736
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51736&action=edit
minimal reproducer
on this example gcc 11.2, 11.1 gives a false posit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87729
--- Comment #5 from xantares09 at hotmail dot com ---
still there with 10.1, see attached patch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87729
xantares09 at hotmail dot com changed:
What|Removed |Added
CC||xantares09 at hotmail dot
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95012
--- Comment #3 from xantares09 at hotmail dot com ---
mingw does not define getpagesize as far as I can tell with:
$ grep -nr getpagesize /usr/i686-w64-mingw32/include/
but gcc seems to detect it (9.x and 10.x):
checking for getpagesize
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95012
--- Comment #1 from xantares09 at hotmail dot com ---
the full compilation script can be seen here:
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=mingw-w64-gcc
Severity: normal
Priority: P3
Component: libbacktrace
Assignee: unassigned at gcc dot gnu.org
Reporter: xantares09 at hotmail dot com
CC: ian at gcc dot gnu.org
Target Milestone: ---
when updating archlinux mingw-w64-gcc from 9.3.0 to 10.1.0
I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88156
xantares09 at hotmail dot com changed:
What|Removed |Added
Resolution|FIXED |INVALID
--- Comment #8
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88156
xantares09 at hotmail dot com changed:
What|Removed |Added
Resolution|INVALID |FIXED
--- Comment #7
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
-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: xantares09 at hotmail dot com
Target Milestone: ---
Using mingw/gcc 8.2.0, at O2 level, ftree-vrp seems to elide the if(h<0)
condition in the following example:
#include
int string_hash(const wchar_t* d
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85638
--- Comment #15 from xantares09 at hotmail dot com ---
The build goes through with your second patch too, thanks a lot.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85638
--- Comment #11 from xantares09 at hotmail dot com ---
Oh, ok
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85638
--- Comment #9 from xantares09 at hotmail dot com ---
Yes, I applied your patch, now the build fails with another error:
gcc -c -I./ -I/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/adalib/../adainclude
-I/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/adalib -I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85638
--- Comment #2 from xantares09 at hotmail dot com ---
Created attachment 44061
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44061&action=edit
./src/gcc-build-i686-w64-mingw32/gcc/ada/rts/a-calend.adb
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85638
--- Comment #1 from xantares09 at hotmail dot com ---
Created attachment 44060
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44060&action=edit
??
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: xantares09 at hotmail dot com
Target Milestone: ---
Created attachment 44059
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44059&action=edit
error log
Summary
===
Ar
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67141
--- Comment #9 from xantares09 at hotmail dot com ---
I can confirm the patch from gcc-5 branch applied on top of 5.2.0 fixes the
mingw problem.
Thanks a lot.
xan.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67141
--- Comment #2 from xantares09 at hotmail dot com ---
Note that you'll need mingw-w64 4.0.4, not 4.0.2 to reproduce, I used gcc
5.2.0.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67141
xantares09 at hotmail dot com changed:
What|Removed |Added
CC||xantares09 at hotmail dot
23 matches
Mail list logo