d/dmd: Merge upstream dmd ab702e73e
authorIain Buclaw <ibuclaw@gcc.gnu.org>
Tue, 26 Mar 2019 14:40:06 +0000 (14:40 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Tue, 26 Mar 2019 14:40:06 +0000 (14:40 +0000)
commitecbb1530e317e8b405d29dead5b080fe2ef9f50c
tree999523995b74fc9b4bf531a6cabba421735f4b1b
parent465b8e7f4ecb9af118419dbf14a43cb95e1d12dd
d/dmd: Merge upstream dmd ab702e73e

Fixes memory leak in the front-end symbol mangler, and introduces
recognition and rejection of a few more C types and directives.

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

From-SVN: r269945
gcc/d/dmd/MERGE
gcc/d/dmd/dmangle.c
gcc/d/dmd/dscope.c
gcc/d/dmd/idgen.c
gcc/d/dmd/lexer.c
gcc/d/dmd/parse.c
gcc/testsuite/gdc.test/fail_compilation/cerrors.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/ctypes.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/widechars.d [new file with mode: 0644]