builtins.c (expand_builtin_memcmp): don't swap args unless result is only being compa...
authorBernd Schmidt <bernds@redhat.com>
Thu, 29 Sep 2016 16:21:20 +0000 (11:21 -0500)
committerAaron Sawdey <acsawdey@gcc.gnu.org>
Thu, 29 Sep 2016 16:21:20 +0000 (11:21 -0500)
commitd0d7f887b79cba3eb3e37c2dc7d59bc85e405ca9
tree6d028a0fe3e7b556ecb9495dce43012d4bedc709
parent0b4b9552ee6be2ac37b09193c07fae68028ed3dd
builtins.c (expand_builtin_memcmp): don't swap args unless result is only being compared with zero.

2016-09-29  Bernd Schmidt  <bschmidt@redhat.com>

* builtins.c (expand_builtin_memcmp): don't swap args unless
result is only being compared with zero.

From-SVN: r240625
gcc/ChangeLog
gcc/builtins.c