This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 6/13] D: Add D language support to GCC proper.
- From: Jeff Law <law at redhat dot com>
- To: Iain Buclaw <ibuclaw at gdcproject dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 11 Sep 2017 10:34:15 -0600
- Subject: Re: [PATCH 6/13] D: Add D language support to GCC proper.
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=law at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com D2DB61490E0
- References: <CABOHX+eSRTZCaqRyOdevwhquvAMSPtdoVakU0uSn2u95fDXVrA@mail.gmail.com>
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