Re: [PATCH] Fix missed debug PR77692

2016-09-26 Thread Richard Biener
On Fri, 23 Sep 2016, Richard Biener wrote: > > I am testing the following patch which re-instantiates behavior > to emit DW_AT_const_value attributes for optimized out non-readonly > global statics. Those are readonly by means of the ability to > remove them early (before any optimization such a

[PATCH] Fix missed debug PR77692

2016-09-23 Thread Richard Biener
I am testing the following patch which re-instantiates behavior to emit DW_AT_const_value attributes for optimized out non-readonly global statics. Those are readonly by means of the ability to remove them early (before any optimization such as removing stores to write-only global vars). Before