Re: Fix wrong code in ldist-strlen-1.c

2021-10-16 Thread H.J. Lu via Gcc-patches
On Sat, Oct 16, 2021 at 8:46 AM Richard Biener via Gcc-patches wrote: > > On October 16, 2021 2:47:51 PM GMT+02:00, Jan Hubicka via Gcc-patches > wrote: > >Hi, > >while updating compute_points_to_sets I missed that the code not only > >sets the nonlocal/escaped flags but also initializes pt. Wi

Re: Fix wrong code in ldist-strlen-1.c

2021-10-16 Thread Richard Biener via Gcc-patches
On October 16, 2021 2:47:51 PM GMT+02:00, Jan Hubicka via Gcc-patches wrote: >Hi, >while updating compute_points_to_sets I missed that the code not only >sets the nonlocal/escaped flags but also initializes pt. With my >previous change if uses_global_memory is false pt is not updated >correctly