On Wed, 2015-02-04 at 23:19 +0100, Jakub Jelinek wrote: > On Wed, Feb 04, 2015@01:58:32PM -0800, Cary Coutant wrote: > > > DW_LANG_Fortran03 and DW_LANG_Fortran08 DW_AT_language values were > > > recently > > > accepted into DWARF5. This patch changes GCC to handle those similarly to > > > how e.g. the -std=c++11, -std=c++14 or -std=c11 are handled. > > > > > > As it will take some time for consumers to catch up, I'm enabling that > > > only if -gdwarf-5 is used for now. > > > > My concern with enabling -gdwarf-5 at this point is that all we're > > really doing with it is enabling a subset of DWARF-5 features (as we > > Yeah, sure, at this point -gdwarf-5 is highly experimental, mainly meant > for coordination with consumers. We'll incrementally add bits to it, until > DWARF5 will be released and we implement everything we'll want to from the > new standard. Then we need to wait for consumers to catch up and only then > we can switch to -gdwarf-5 by default (perhaps GCC 7.0 timeframe?).
I documented the new GCC/GNU DWARF[5] extensions at: https://fedorahosted.org/elfutils/wiki/DwarfExtensions And submitted patches to support the new DW_LANG_Fortran(03,08} to elfutils, valgrind, gdb, binutils and gold. Cheers, Mark