This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR63426 Fix various signed integer overflows


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]