ffded19346
r334928 | kib | 2018-06-10 10:54:44 -0700 (Sun, 10 Jun 2018) | 16 lines libc qsort(3): stop aliasing. Qsort swap code aliases the sorted array elements to ints and longs in order to do swap by machine words. Unfortunately this breaks with the full code optimization, e.g. LTO. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83201 which seems to reference code directly copied from libc/stdlib/qsort.c. PR: 228780 Reported by: mliska@suse.cz Reviewed by: brooks Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D15714 Test: treehugger Change-Id: Iac608b13bbf8a2dcb48c935a7871c0d2f05bff79 |
||
---|---|---|
.. | ||
android/include | ||
lib/libc | ||
README.md |
README.md
This directory contains upstream FreeBSD source. You should not edit these files directly. Make fixes upstream and then pull down the new version of the file.
TODO: write a script to make this process automated.