gcc_qsort: avoid overlapping memcpy (PR 86311)
authorAlexander Monakov <amonakov@ispras.ru>
Mon, 25 Jun 2018 17:44:15 +0000 (20:44 +0300)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Mon, 25 Jun 2018 17:44:15 +0000 (20:44 +0300)
commit21925ac173495dad58a5ed0293ceb0203f849a51
tree25b3a681fd1312bb19653cc5cb8ca07617b43932
parent3685dcd7fb618b8dc7c7352a76a55efa959aae84
gcc_qsort: avoid overlapping memcpy (PR 86311)

PR middle-end/86311
* sort.cc (REORDER_23): Avoid memcpy with same destination and source.
(REORDER_45): Likewise.

From-SVN: r262092
gcc/ChangeLog
gcc/sort.cc