Re: [PATCH 6/13] D: Add D language support to GCC proper.
On 09/11/2017 11:27 AM, Mike Stump wrote: > On Sep 11, 2017, at 9:34 AM, Jeff Lawwrote: >> >> 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 > > ENOCOMMENT Arggh. It somehow got run onto the end of the ChangeLog. "This is fine when the prereqs are approved." :-) jeff
Re: [PATCH 6/13] D: Add D language support to GCC proper.
On Sep 11, 2017, at 9:34 AM, Jeff Lawwrote: > > 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 ENOCOMMENT
Re: [PATCH 6/13] D: Add D language support to GCC proper.
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