diff options
author | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-11-09 17:21:45 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-11-09 17:21:45 +0100 |
commit | 4f3535815e039b0593297e17ce03715b6afa93b1 (patch) | |
tree | af77023a79588c2779e0da15be494e19c56e21c7 /gcc/builtins.c | |
parent | 2e955d50a928eac736c1e4a6eddc932d3400200a (diff) | |
download | gcc-4f3535815e039b0593297e17ce03715b6afa93b1.zip gcc-4f3535815e039b0593297e17ce03715b6afa93b1.tar.gz gcc-4f3535815e039b0593297e17ce03715b6afa93b1.tar.bz2 |
re PR middle-end/77718 (expand_builtin_memcmp swaps args)
PR target/77718
* builtins.c (expand_builtin_memcmp): Formatting fix.
* gcc.c-torture/execute/pr77718.c: New test.
From-SVN: r242007
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r-- | gcc/builtins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index cc711a0..3ac2d44 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -3754,7 +3754,7 @@ expand_builtin_memcmp (tree exp, rtx target, bool result_eq) { src_str = c_getstr (arg1); if (src_str != NULL) - std::swap (arg1_rtx, arg2_rtx); + std::swap (arg1_rtx, arg2_rtx); } /* If SRC is a string constant and block move would be done |