r255057 - in /trunk/gcc: ChangeLog emit-rtl.c

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Wed Nov 22 13:58:00 GMT 2017


Author: rsandifo
Date: Wed Nov 22 13:58:20 2017
New Revision: 255057

URL: https://gcc.gnu.org/viewcvs?rev=255057&root=gcc&view=rev
Log:
Fix calculation of ptr_mode for MODE_PARTIAL_INT Pmode

This patch fixes a regression caused by r251469, where I'd incorrectly
converted a call to mode_for_size that sometimes needs MODE_PARTIAL_INTs.

2017-11-22  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/
	* emit-rtl.c (init_derived_machine_modes): Make sure ptr_mode
	has the same mode class as Pmode.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/emit-rtl.c



More information about the Gcc-cvs mailing list