Re: Fix wrong code in gnatmake

2022-04-12 Thread Richard Biener via Gcc-patches
> Am 12.04.2022 um 17:08 schrieb Thomas Schwinge : > > Hi! > >> On 2022-04-12T15:45:03+0200, Richard Biener wrote: >>> On Tue, 12 Apr 2022, Thomas Schwinge wrote: >>> On 2022-04-07T15:04:15+0200, Richard Biener via Gcc-patches >>> wrote: On Thu, 7 Apr 2022, Jan Hubicka wrote: >>

Re: Fix wrong code in gnatmake

2022-04-12 Thread Thomas Schwinge
Hi! On 2022-04-12T15:45:03+0200, Richard Biener wrote: > On Tue, 12 Apr 2022, Thomas Schwinge wrote: >> On 2022-04-07T15:04:15+0200, Richard Biener via Gcc-patches >> wrote: >> > On Thu, 7 Apr 2022, Jan Hubicka wrote: >> >> > On Thu, 7 Apr 2022, Jan Hubicka wrote: >> >> > > this patch fixes

Re: Fix wrong code in gnatmake

2022-04-12 Thread Richard Biener via Gcc-patches
On Tue, 12 Apr 2022, Thomas Schwinge wrote: > Hi! > > On 2022-04-07T15:04:15+0200, Richard Biener via Gcc-patches > wrote: > > On Thu, 7 Apr 2022, Jan Hubicka wrote: > >> > On Thu, 7 Apr 2022, Jan Hubicka wrote: > >> > > this patch fixes miscompilation of gnatmake. Modref attempts to track >

Re: Fix wrong code in gnatmake

2022-04-12 Thread Thomas Schwinge
Hi! On 2022-04-07T15:04:15+0200, Richard Biener via Gcc-patches wrote: > On Thu, 7 Apr 2022, Jan Hubicka wrote: >> > On Thu, 7 Apr 2022, Jan Hubicka wrote: >> > > this patch fixes miscompilation of gnatmake. Modref attempts to track >> > > memory >> > > accesses relative to the base pointers

Re: Fix wrong code in gnatmake

2022-04-07 Thread Richard Biener via Gcc-patches
On Thu, 7 Apr 2022, Jan Hubicka wrote: > > On Thu, 7 Apr 2022, Jan Hubicka wrote: > > > > > Hi, > > > this patch fixes miscompilation of gnatmake. Modref attempts to track > > > memory > > > accesses relative to the base pointers which are parameters of functions. > > > If it fails, it still

Re: Fix wrong code in gnatmake

2022-04-07 Thread Jan Hubicka via Gcc-patches
> On Thu, 7 Apr 2022, Jan Hubicka wrote: > > > Hi, > > this patch fixes miscompilation of gnatmake. Modref attempts to track > > memory > > accesses relative to the base pointers which are parameters of functions. > > If it fails, it still makes difference between unknown memory access and > >

Re: Fix wrong code in gnatmake

2022-04-07 Thread Richard Biener via Gcc-patches
On Thu, 7 Apr 2022, Jan Hubicka wrote: > Hi, > this patch fixes miscompilation of gnatmake. Modref attempts to track memory > accesses relative to the base pointers which are parameters of functions. > If it fails, it still makes difference between unknown memory access and > global memory

Fix wrong code in gnatmake

2022-04-07 Thread Jan Hubicka via Gcc-patches
Hi, this patch fixes miscompilation of gnatmake. Modref attempts to track memory accesses relative to the base pointers which are parameters of functions. If it fails, it still makes difference between unknown memory access and global memory access. The second makes it possible to disambiguate