Re: [PATCH] Improve DWARF constant attribute langhooks

2016-10-17 Thread Richard Biener
On Mon, Oct 17, 2016 at 10:45 AM, Jakub Jelinek wrote: > On Mon, Oct 17, 2016 at 10:36:48AM +0200, Richard Biener wrote: >> GCC would have to cease supporting the stabs variants or output them >> from the DWARF IL we have. I believe this is what LLVM does. >> (I specifically discouraged the AdaCo

Re: [PATCH] Improve DWARF constant attribute langhooks

2016-10-17 Thread Jakub Jelinek
On Mon, Oct 17, 2016 at 10:36:48AM +0200, Richard Biener wrote: > GCC would have to cease supporting the stabs variants or output them > from the DWARF IL we have. I believe this is what LLVM does. > (I specifically discouraged the AdaCore folks from writing a windows > debug format within the cur

Re: [PATCH] Improve DWARF constant attribute langhooks

2016-10-17 Thread Richard Biener
On Fri, Oct 14, 2016 at 7:29 PM, Jakub Jelinek wrote: > Hi! > > Before early dwarf changes, if we wanted to note some decl property so that > some corresponding DWARF attribute can be emitted, we had to use some > generic IL bit for that. Now a langhook can be used instead (hopefully for > 7.x ev

Re: [PATCH] Improve DWARF constant attribute langhooks

2016-10-14 Thread Jason Merrill
OK. On Fri, Oct 14, 2016 at 1:29 PM, Jakub Jelinek wrote: > Hi! > > Before early dwarf changes, if we wanted to note some decl property so that > some corresponding DWARF attribute can be emitted, we had to use some > generic IL bit for that. Now a langhook can be used instead (hopefully for > 7

[PATCH] Improve DWARF constant attribute langhooks

2016-10-14 Thread Jakub Jelinek
Hi! Before early dwarf changes, if we wanted to note some decl property so that some corresponding DWARF attribute can be emitted, we had to use some generic IL bit for that. Now a langhook can be used instead (hopefully for 7.x even with LTO), but having a single langhook for each such bit looks