Mercurial > hg > CbC > CbC_gcc
diff gcc/fwprop.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
line wrap: on
line diff
--- a/gcc/fwprop.c Fri Oct 27 22:46:09 2017 +0900 +++ b/gcc/fwprop.c Thu Oct 25 07:37:49 2018 +0900 @@ -1,5 +1,5 @@ /* RTL-based forward propagation pass for GNU compiler. - Copyright (C) 2005-2017 Free Software Foundation, Inc. + Copyright (C) 2005-2018 Free Software Foundation, Inc. Contributed by Paolo Bonzini and Steven Bosscher. This file is part of GCC. @@ -1263,7 +1263,7 @@ reg = DF_REF_REG (use); if (GET_CODE (reg) == SUBREG && GET_CODE (SET_DEST (def_set)) == SUBREG) { - if (SUBREG_BYTE (SET_DEST (def_set)) != SUBREG_BYTE (reg)) + if (maybe_ne (SUBREG_BYTE (SET_DEST (def_set)), SUBREG_BYTE (reg))) return false; } /* Check if the def had a subreg, but the use has the whole reg. */