This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C PATCH] Fix set_nonincremental_init_from_string (PR c/67410)
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Marek Polacek <polacek at redhat dot com>, <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 12 Aug 2016 16:02:17 +0000
- Subject: Re: [C PATCH] Fix set_nonincremental_init_from_string (PR c/67410)
- Authentication-results: sourceware.org; auth=none
- References: <20160812155455.GD14857@tucnak.redhat.com>
On Fri, 12 Aug 2016, Jakub Jelinek wrote:
> Hi!
>
> The wide-int conversion of set_nonincremental_init_from_string broke this
> function.
> Before we used val[bitpos < HOST_BITS_PER_WIDE_INT], but val[1] and val[0]
> has been swapped, so either it should be bitpos >= HOST_BITS_PER_WIDE_INT,
> or bitpos / HOST_BITS_PER_WIDE_INT.
>
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk/6.2?
OK.
--
Joseph S. Myers
joseph@codesourcery.com