diff options
author | Alan Modra <amodra@gmail.com> | 2016-12-01 17:44:04 +1030 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2016-12-01 17:44:04 +1030 |
commit | f73ee211c30c292316ffa6f55eca3531c67a4de7 (patch) | |
tree | 4c0fbf3bd25f2eadff02927c9934acccc8c5522d /gcc/config | |
parent | 77e6870d7fc85a4139f7f27ee3287b103d374ab2 (diff) | |
download | gcc-f73ee211c30c292316ffa6f55eca3531c67a4de7.zip gcc-f73ee211c30c292316ffa6f55eca3531c67a4de7.tar.gz gcc-f73ee211c30c292316ffa6f55eca3531c67a4de7.tar.bz2 |
[RS6000] fix rtl-checking internal compiler error
* gcc/config/rs6000/rs6000.c (insn_is_swappable_p): Properly
look inside UNSPEC_VSX_XXSPLTW vec.
From-SVN: r243097
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 9fe98b7..7f307b1 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -40675,7 +40675,7 @@ insn_is_swappable_p (swap_web_entry *insn_entry, rtx insn, if (GET_CODE (use_body) != SET || GET_CODE (SET_SRC (use_body)) != UNSPEC || XINT (SET_SRC (use_body), 1) != UNSPEC_VSX_XXSPLTW - || XEXP (XEXP (SET_SRC (use_body), 0), 1) != const0_rtx) + || XVECEXP (SET_SRC (use_body), 0, 1) != const0_rtx) return 0; } } |