[PATCH 06/14] Add patches for D language support in GCC proper.
Iain Buclaw
ibuclaw@gdcproject.org
Mon Oct 22 01:14:00 GMT 2018
On Wed, 19 Sep 2018 at 22:21, Iain Buclaw <ibuclaw@gdcproject.org> wrote:
>
> On 18 September 2018 at 02:35, Iain Buclaw <ibuclaw@gdcproject.org> wrote:
> >
> > This patch adds D language support to GCC itself.
> >
>
> Likewise, this was approved so long as all prerequisites have been
> approved also.
>
> https://gcc.gnu.org/ml/gcc-patches/2017-09/msg00609.html
>
Making one small change here off the back of review from 02/14, adding
D to testsuite/gcc.misc-tests/help.exp.
Regards
--
Iain
---
gcc/ChangeLog:
* config/powerpcspe/powerpcspe.c (rs6000_output_function_epilogue):
Support GNU D by using 0 as the language type.
* 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.
(prune_unused_types_walk_local_classes): Handle
DW_tag_interface_type.
(prune_unused_types_walk): Handle DW_tag_interface_type same as
other kinds of aggregates.
* gcc.c (default_compilers): Add entries for ".d", ".dd" and ".di".
gcc/po/ChangeLog:
* EXCLUDES: Add sources from d/dfrontend.
gcc/testsuite/ChangeLog:
* gcc.misc-tests/help.exp: Add D to option descriptions check.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 06-v4-d-gcc-proper.patch
Type: application/x-patch
Size: 7555 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20181022/2d16eccc/attachment.bin>
More information about the Gcc-patches
mailing list