On 6/2/23 09:00, Thomas Neumann via Gcc-patches wrote:
Summary: The radix sort did not handle the uppermost byte correctly,
which sometimes broke win32 exceptions. Bugzilla #109670. The reporter
confirmed that the patch fixes the bug.
See:
https://gcc.gnu.org/pipermail/gcc-patches/2023-May/
Summary: The radix sort did not handle the uppermost byte correctly,
which sometimes broke win32 exceptions. Bugzilla #109670. The reporter
confirmed that the patch fixes the bug.
See:
https://gcc.gnu.org/pipermail/gcc-patches/2023-May/618000.html
Best
Thomas
The radix sort uses two buffers, a1 for input and a2 for output.
After every digit the role of the two buffers is swapped.
When terminating the sort early the code made sure the output
was in a2. However, when we run out of bits, as can happen on
32bit platforms, the sorted result was in a1, was