d/dmd: Merge upstream dmd 7423993c9
authorIain Buclaw <ibuclaw@gdcproject.org>
Tue, 12 Mar 2019 13:29:16 +0000 (13:29 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Tue, 12 Mar 2019 13:29:16 +0000 (13:29 +0000)
commitc9634470ba8b918c01a7680740cf9ea13ca06967
tree279986d79aff26484061e545bce82c387b8edb0a
parentdf2a91dece0ac6e410e3cf48b39cba8c3744c5f3
d/dmd: Merge upstream dmd 7423993c9

Fixes C++ mangling for substituted basic types that are target-specific.
Introduces a new method that currently does nothing, but could in future
make use of flag_abi_version as extern(C++) integration improves in
latter versions of the D front-end.

Reviewed-on: https://github.com/dlang/dmd/pull/9439

gcc/d/ChangeLog:

2019-03-12  Iain Buclaw  <ibuclaw@gdcproject.org>

* d-lang.cc (d_init_options): Set global.params.cplusplus to C++14.
* d-target.cc (Target::cppFundamentalType): New method.

From-SVN: r269611
gcc/d/ChangeLog
gcc/d/d-lang.cc
gcc/d/d-target.cc
gcc/d/dmd/MERGE
gcc/d/dmd/cppmangle.c
gcc/d/dmd/globals.h
gcc/d/dmd/target.h
gcc/testsuite/gdc.test/runnable/cppa.d
gcc/testsuite/gdc.test/runnable/extra-files/cppb.cpp