diff options
author | Richard Henderson <rth@redhat.com> | 2005-04-18 16:05:12 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2005-04-18 16:05:12 +0000 |
commit | 93f67eaf30dbcaff3a13f9fca90c8348c8342cb7 (patch) | |
tree | 5a9d089208b299a269cd659f279d9838bb7e517c /gcc/optabs.c | |
parent | c373686cefd6a6a079f936557936d254f927f65d (diff) |
* optabs.c (expand_sync_operation): Fix typo expanding nand to and.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@98327 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r-- | gcc/optabs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c index 47eec4bbcf3..90a42c25d64 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -5751,7 +5751,7 @@ expand_sync_operation (rtx mem, rtx val, enum rtx_code code) case NOT: icode = sync_nand_optab[mode]; - if (icode != CODE_FOR_nothing) + if (icode == CODE_FOR_nothing) { icode = sync_and_optab[mode]; if (icode != CODE_FOR_nothing) |