This is the mail archive of the gcc-bugs@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]

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


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

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