This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [33/77] Add a NARROWEST_INT_MODE macro
- From: Jeff Law <law at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, richard dot sandiford at linaro dot org
- Date: Mon, 14 Aug 2017 14:47:42 -0600
- Subject: Re: [33/77] Add a NARROWEST_INT_MODE macro
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=law at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 6F8A9C0050BD
- References: <8760ewohsv.fsf@linaro.org> <877ezciuum.fsf@linaro.org>
On 07/13/2017 02:50 AM, Richard Sandiford wrote:
> This patch replaces uses of GET_CLASS_NARROWEST_MODE (MODE_INT) with a
> new NARROWEST_INT_MODE macro, which has type scalar_int_mode.
>
> 2017-07-13 Richard Sandiford <richard.sandiford@linaro.org>
> Alan Hayward <alan.hayward@arm.com>
> David Sherwood <david.sherwood@arm.com>
>
> gcc/
> * machmode.h (NARROWEST_INT_MODE): New macro.
> * expr.c (alignment_for_piecewise_move): Use it instead of
> GET_CLASS_NARROWEST_MODE (MODE_INT).
> (push_block): Likewise.
> * stor-layout.c (bit_field_mode_iterator::bit_field_mode_iterator):
> Likewise.
> * tree-vrp.c (simplify_float_conversion_using_ranges): Likewise.
>
> gcc/ada/
> * gcc-interface/decl.c (validate_size): Use NARROWEST_INT_MODE
> instead of GET_CLASS_NARROWEST_MODE (MODE_INT).
OK.
jeff