Re: -g and -fvar-tracking

2018-04-24 Thread Sandra Loosemore
On 04/24/2018 01:05 AM, Jakub Jelinek wrote: On Mon, Apr 23, 2018 at 10:15:57PM -0600, Sandra Loosemore wrote: Can somebody remind me why using -g doesn't also enable -fvar-tracking by default? At least for -g2, which is supposed to emit debug information about local variables? It seems kind o

Re: -g and -fvar-tracking

2018-04-24 Thread Jakub Jelinek
On Mon, Apr 23, 2018 at 10:15:57PM -0600, Sandra Loosemore wrote: > Can somebody remind me why using -g doesn't also enable -fvar-tracking by > default? At least for -g2, which is supposed to emit debug information > about local variables? It seems kind of counterintuitive to me that > specifying

-g and -fvar-tracking

2018-04-23 Thread Sandra Loosemore
Can somebody remind me why using -g doesn't also enable -fvar-tracking by default? At least for -g2, which is supposed to emit debug information about local variables? It seems kind of counterintuitive to me that specifying a -O option enables a pass to collect better debug information but sp