Introduce gcc_qsort
authorAlexander Monakov <amonakov@ispras.ru>
Sun, 13 May 2018 18:23:06 +0000 (21:23 +0300)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Sun, 13 May 2018 18:23:06 +0000 (21:23 +0300)
commit82a04cd1d37bfaf10de8f648e35d40c91853d026
tree0f08f3d658c0f7ea3c270d1428051151b0c20614
parent628332f85dbcd0996f68afae47b2b6d134b7b268
Introduce gcc_qsort

* sort.cc: New file.
* system.h [!CHECKING_P] (qsort): Redirect to gcc_qsort.
* vec.c (qsort_chk): Use gcc_qsort.
* Makefile.in (OBJS-libcommon): Add sort.o.
(build/sort.o): New target.  Use it...
(BUILD_RTL): ... here, and...
(build/gencfn-macros): ... here, and...
(build/genmatch): ... here.

From-SVN: r260216
gcc/ChangeLog
gcc/Makefile.in
gcc/sort.cc [new file with mode: 0644]
gcc/system.h
gcc/vec.c