r251508 - in /trunk/gcc: ChangeLog expr.c

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Wed Aug 30 11:18:00 GMT 2017


Author: rsandifo
Date: Wed Aug 30 11:18:12 2017
New Revision: 251508

URL: https://gcc.gnu.org/viewcvs?rev=251508&root=gcc&view=rev
Log:
[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.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c



More information about the Gcc-cvs mailing list