]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/sort.cc
qsort_chk: call from gcc_qsort instead of wrapping it
authorAlexander Monakov <amonakov@ispras.ru>
Mon, 3 Sep 2018 16:46:46 +0000 (19:46 +0300)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Mon, 3 Sep 2018 16:46:46 +0000 (19:46 +0300)
commit71acd8b9d9d8c9437bfffa51f1b56f93cfbc20e9
treeaeb1615ea6e77b0603ffbf15f04db99c43128a8f
parent158985b1a59e33d6536cb570bb5fbc9b79c96034
qsort_chk: call from gcc_qsort instead of wrapping it

* sort.cc (gcc_qsort) [CHECKING_P]: Call qsort_chk.
* system.h (qsort): Always redirect to gcc_qsort.  Update comment.
* vec.c (qsort_chk): Do not call gcc_qsort.  Update comment.

From-SVN: r264065
gcc/ChangeLog
gcc/sort.cc
gcc/system.h
gcc/vec.c