[56/77] Use the more specific type when two modes are known to be equal
commitdc4880990d3a42a406be71ceee308315ffad7ec4
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Aug 2017 11:18:12 +0000 (30 11:18 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Aug 2017 11:18:12 +0000 (30 11:18 +0000)
tree7a7523fce5837628244b032776c67c2f45ea3996
parent0a398c03870b27be37d9f76bc3ff03b497146944
[56/77] Use the more specific type when two modes are known to be equal

This patch adjusts a couple of cases in which we had established
that two modes were equal and happened to be using the one with the
more general type instead of the one with the more specific type.

2017-08-30  Richard Sandiford  <richard.sandiford@linaro.org>
    Alan Hayward  <alan.hayward@arm.com>
    David Sherwood  <david.sherwood@arm.com>

gcc/
* expr.c (expand_expr_real_2): Use word_mode instead of innermode
when the two are known to be equal.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251508 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expr.c