This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR 61084: Use widest_int in sparc_fold_builtin
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Richard Sandiford <rdsandiford at googlemail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 19 May 2014 10:45:17 +0200
- Subject: Re: PR 61084: Use widest_int in sparc_fold_builtin
- Authentication-results: sourceware.org; auth=none
- References: <87bnuyexv7 dot fsf at sandifor-thinkpad dot stglab dot manchester dot uk dot ibm dot com> <14901342 dot qKrUO6pI85 at polaris> <87d2fakz3h dot fsf at talisman dot default>
> Well, I understood the distinction between wide_int and widest_int.
> I just didn't understand what pdist did. :-)
>
> The difference is documented (a bit verbosely) in wide-int.h.
Yes, but not really why it's not correct to use wide_int for the computation
made in pdist (and whether the use of widest_int could be avoided altogether
by using a common type throughout the computation).
--
Eric Botcazou