This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH] PR79079 Fix __builtin_mul_overflow code gen for !TRULY_NOOP_TRUNCATION target
- From: Matthew Fortune <Matthew dot Fortune at imgtec dot com>
- To: Jakub Jelinek <jakub at redhat dot com>, Kito Cheng <kito dot cheng at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Kuan-Lin Chen <kuanlinchentw at gmail dot com>, "clm at codesourcery dot com" <clm at codesourcery dot com>, Andrew Waterman <andrew at sifive dot com>, Palmer Dabbelt <palmer at dabbelt dot com>
- Date: Mon, 16 Jan 2017 10:13:59 +0000
- Subject: RE: [PATCH] PR79079 Fix __builtin_mul_overflow code gen for !TRULY_NOOP_TRUNCATION target
- Authentication-results: sourceware.org; auth=none
- References: <CA+yXCZDNijzskL8f6MrDXA3RqdUNknE0meZzCEorkSAHuKHpsA@mail.gmail.com> <20170116074038.GJ1867@tucnak>
Kito Cheng <kito.cheng@gmail.com> writes:
> On Mon, Jan 16, 2017 at 02:42:08PM +0800, Kito Cheng wrote:
> > 2017-01-16 Kito Cheng <kito.cheng@gmail.com>
> > Kuan-Lin Chen <kuanlinchentw@gmail.com>
> >
> > PR target/PR79079
> > * gcc/internal-fn.c (expand_mul_overflow): Use convert_modes
> instead of
> > gen_lowpart.
Thanks for the fix Kito, much appreciated.
I believe this is candidate for backport to GCC 6 given a week or so in trunk
to make sure it's OK.
Matthew