This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR63426 Fix various signed integer overflows
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Markus Trippelsdorf <markus at trippelsdorf dot de>, Richard Biener <rguenther at suse dot de>, Jakub Jelinek <jakub at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 20 Nov 2014 08:59:34 -0500
- Subject: Re: [PATCH] PR63426 Fix various signed integer overflows
- Authentication-results: sourceware.org; auth=none
- References: <20141120132752 dot GJ344 at x4>
On Thu, Nov 20, 2014 at 8:27 AM, Markus Trippelsdorf
<markus@trippelsdorf.de> wrote:
> Running the testsuite after bootstrap-ubsan on gcc112 shows several issues. See
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 for the full list.
>
> This patch fixes several of them.
>
> Tested on powerpc64-unknown-linux-gnu.
>
> OK for trunk?
>
> Thanks.
>
> 2014-11-20 Markus Trippelsdorf <markus@trippelsdorf.de>
>
> * config/rs6000/constraints.md: Avoid signed integer overflows.
> * config/rs6000/predicates.md: Likewise.
> * config/rs6000/rs6000.c (num_insns_constant_wide): Likewise.
> (includes_rldic_lshift_p): Likewise.
> (includes_rldicr_lshift_p): Likewise.
> * emit-rtl.c (const_wide_int_htab_hash): Likewise.
> * loop-iv.c (determine_max_iter): Likewise.
> (iv_number_of_iterations): Likewise.
> * tree-ssa-loop-ivopts.c (get_computation_cost_at): Likewise.
> * varasm.c (get_section_anchor): Likewise.
The rs6000 patches are okay.
Someone like Richi or Jakub needs to approve the changes to the common
parts of the compiler.
Thanks, David