https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79574

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Fri Feb 17 14:46:14 2017
New Revision: 245531

URL: https://gcc.gnu.org/viewcvs?rev=245531&root=gcc&view=rev
Log:
Use HOST_WIDE_INT for a param calculation (PR rtl-optimization/79574).

2017-02-17  Martin Liska  <mli...@suse.cz>

        PR rtl-optimization/79574
        * gcc.dg/pr79574.c: New test.
2017-02-17  Martin Liska  <mli...@suse.cz>

        PR rtl-optimization/79574
        * gcse.c (want_to_gcse_p): Prevent integer overflow.

Added:
    trunk/gcc/testsuite/gcc.dg/pr79574.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gcse.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to