[Bug tree-optimization/78646] incorrect result type for pointer addition in slsr

wschmidt at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 7 01:05:00 GMT 2016


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

--- Comment #10 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Author: wschmidt
Date: Wed Dec  7 01:04:47 2016
New Revision: 243330

URL: https://gcc.gnu.org/viewcvs?rev=243330&root=gcc&view=rev
Log:
2016-12-06  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

        Backport from mainline
        2016-12-05  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
                    Stefan Freudenberger  <stefan@reservoir.com>

        PR tree-optimization/78646
        * gimple-ssa-strength-reduction.c (replace_ref): The pointer
        addition used for the memory base expression should have the type
        of the candidate.


Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/gimple-ssa-strength-reduction.c


More information about the Gcc-bugs mailing list