This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r251484 - in /trunk/gcc/c-family: ChangeLog c-a...
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 30 Aug 2017 11:12:55 -0000
- Subject: r251484 - in /trunk/gcc/c-family: ChangeLog c-a...
Author: rsandifo
Date: Wed Aug 30 11:12:55 2017
New Revision: 251484
URL: https://gcc.gnu.org/viewcvs?rev=251484&root=gcc&view=rev
Log:
[32/77] Check is_a <scalar_int_mode> before calling valid_pointer_mode
A future patch will make valid_pointer_mode take a scalar_int_mode
instead of a machine_mode. is_a <...> rather than as_a <...> is
needed here because we're checking a mode supplied by the user.
2017-08-30 Richard Sandiford <richard.sandiford@linaro.org>
Alan Hayward <alan.hayward@arm.com>
David Sherwood <david.sherwood@arm.com>
gcc/c-family/
* c-attribs.c (handle_mode_attribute): Check for a scalar_int_mode
before calling targetm.addr_space.valid_pointer_mode.
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c-attribs.c