Re: [committed] openmp: Fix up strtoul and strtoull uses in libgomp

2021-11-09 Thread Thomas Schwinge
Hi! On 2021-10-15T16:46:33+0200, Jakub Jelinek via Gcc-patches wrote: > also discovered that the hang was a result of making wrong assumptions > about strtoul/strtoull. (Also 'strtol'.) ;-) > All the uses were for portability setting > errno = 0 before the calls and treating non-zero errno af

[committed] openmp: Fix up strtoul and strtoull uses in libgomp

2021-10-15 Thread Jakub Jelinek via Gcc-patches
Hi! Yesterday when working on numa_domains, I've noticed because of a bug in my patch a hang on a large NUMA machine. I've fixed the bug, but also discovered that the hang was a result of making wrong assumptions about strtoul/strtoull. All the uses were for portability setting errno = 0 before