Re: When not optimizing do not compute RTX memory attributes

2015-12-01 Thread Jan Hubicka
> On Tue, 1 Dec 2015, Jan Hubicka wrote: > > > Hi, > > memory attributes are currently optimized and attached to RTL even when not > > optimizing. This is obviously just a wasted effort. > > Huh, are you sure? What about globals used from different optimize > contexts? Hmm, you are right - we w

Re: When not optimizing do not compute RTX memory attributes

2015-12-01 Thread Richard Biener
On Tue, 1 Dec 2015, Jan Hubicka wrote: > Hi, > memory attributes are currently optimized and attached to RTL even when not > optimizing. This is obviously just a wasted effort. Huh, are you sure? What about globals used from different optimize contexts? > Bootstrapped/regtested x86_64-linux, OK