On Wed, Sep 20, 2017 at 9:50 AM, Martin Liška <mli...@suse.cz> wrote: > Hi. > > This is partial fix for the PR, where I calculate 2 offsets in offset_int > type. > > Patch can bootstrap on ppc64le-redhat-linux and survives regression tests. > > Ready to be installed?
That seems to poorly handle the cases in offset_overlap_p. What kind of overflow do we see here? Richard. > Martin > > gcc/ChangeLog: > > 2017-09-20 Martin Liska <mli...@suse.cz> > > PR tree-optimization/82042 > * alias.c (memrefs_conflict_p): Calculate offset in offset_int > type. > * cse.c (use_related_value): Likewise. > --- > gcc/alias.c | 10 ++++++++-- > gcc/cse.c | 14 ++++++++++---- > 2 files changed, 18 insertions(+), 6 deletions(-) > >