On 05/28/2017 03:15 PM, Iain Buclaw wrote: > This patch adds D language support to GCC itself. > > --- > > > 06-d-gcc-proper.patch > > > gcc/ChangeLog > > * config/rs6000/rs6000.c (rs6000_output_function_epilogue): > Support GNU D by using 0 as the language type. > * dwarf2out.c (is_dlang): New function. > (gen_compile_unit_die): Use DW_LANG_D for D. > (declare_in_namespace): Return module die for D, instead of adding > extra declarations into the namespace. > (gen_namespace_die): Generate DW_TAG_module for D. > (gen_decl_die, dwarf2out_decl): Handle CONST_DECLSs for D. > * gcc.c (default_compilers): Add entries for ".d", ".dd" and ".di".This > is fine when prereqs are approved.
jeff