On Wed, Nov 12, 2014 at 04:21:09PM +0100, Richard Biener wrote:
> On Wed, Nov 12, 2014 at 3:54 PM, Jakub Jelinek <ja...@redhat.com> wrote:
> > On Wed, Nov 12, 2014 at 03:50:19PM +0100, Mark Wielaard wrote:
> >> On Mon, 2014-10-13 at 10:33 +0200, Mark Wielaard wrote:
> >> > On Wed, 2014-10-08 at 12:13 +0200, Mark Wielaard wrote:
> >> > > This patch was written a long time ago by Jakub and has been in Fedora
> >> > > gcc for some time. All I did was rebase it to current gcc trunk
> >> > > and add a testcase. Back when it was originally proposed the issue was
> >> > > that because DWARF was generated late adding new lang hooks for this
> >> > > was problematic for LTO. Now that there is a move towards generating
> >> > > DWARF early I am hoping this patch can finally make it to mainline gcc.
> >> >
> >> > Ping.
> >>
> >> Ping again.
> >
> > I think we want this (also extended for C11/C++11/C++14 afterwards), even
> > when the early debug bits won't be ready for GCC 5; LTO will just continue
> > claiming to be old C (or whatever it claims right now), but there is
> > hope it will be improved for GCC 6.
> >
> > But, I can't approve my own patch...  Richard, can you live with this?
> 
> Why doesn't the patch simply make the FE return sth different
> in lang_hooks.name?  Like "GNU C99" or "GNU ObjC"?  Or
> even better change that to an unsigned int containing
> DW_LANG_* directly and not a string?

That is an option too, Mark, do you want to work on such a patch?

        Jakub

Reply via email to