Incorrect change to generic_morestack.c:__morestack_load_mmap()?

2019-01-30 Thread Paul Smith
I was looking through the diffs between GCC 8.1.0 and GCC 8.2.0 and saw this change, which doesn't look right to me: it changes munmap() to use the new static_pagesize variable, but that variable is not assigned until after it's used. Since it's global it's always 0, so this code runs munmap(0, 0)

Small typo on site

2019-01-30 Thread kuba
hi, on site: https://www.gnu.org/software/gcc/bugs/#dontwant in section Reporting Bugs > Summarized bug reporting instructions > What we do not want in 3 point you have An attached archive (tar, zip, shar, whatever) containing all (or some :-) of the above. (or some :-) should be replace to (or

libgomp platform customization

2019-01-30 Thread Sebastian Huber
Hello, we would like to use libgomp in a quite constraint environment. In this environment using for example the C locale support, errno, malloc(), realloc(), free(), and abort() are problematic. One option would be to introduce a new header file "config/*/platform.h" which is included in lib