Do not expand the call to memcmp at all when overflow is detected.
authorQing Zhao <qing.zhao@oracle.com>
Wed, 15 Aug 2018 16:33:52 +0000 (16:33 +0000)
committerQing Zhao <qinzhao@gcc.gnu.org>
Wed, 15 Aug 2018 16:33:52 +0000 (16:33 +0000)
commitb99d7d976ba2475f038ea1406a1fb9a8fb6c4f5a
tree2bf0f327db2e0b2b64117f2d2b16c5e708530946
parent0cd020ae59e1131b8d7e23424c319c493745f0f8
Do not expand the call to memcmp at all when overflow is detected.

From-SVN: r263563
gcc/ChangeLog
gcc/builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/strcmpopt_6.c