]> git.ipfire.org Git - thirdparty/gcc.git/commit
Merge dmd upstream 6243fa6d2
authorIain Buclaw <ibuclaw@gdcproject.org>
Sun, 4 Nov 2018 23:34:44 +0000 (23:34 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Sun, 4 Nov 2018 23:34:44 +0000 (23:34 +0000)
commitf9ab59ffe7f22c533df54f28cd7e71affbce854b
tree450d012939fe9a9d4435c2cf7002a626c0431429
parente8bf3d5ed983791a658b86f4eae338e13b6fdc3f
Merge dmd upstream 6243fa6d2

This introduces a new header that pulls in system includes for use only
in the DMD front-end part of the compiler, fixing up uses of problematic
functions that are prevalent throughout the code.

Commits merged from dmd.

    Fix build of the D frontend on the Hurd and KFreeBSD.
    Initial patch from Matthias Klose.
    https://github.com/dlang/dmd/pull/8893

    Don't care about D/C++ compatibility in C++ port.
    Fixes build error in https://gcc.gnu.org/PR87788
    https://github.com/dlang/dmd/pull/8895

    Allow compiling front-end headers with strict warnings.
    https://github.com/dlang/dmd/pull/8909

    Add root/system.h header for wrapping system includes.
    Fixes https://gcc.gnu.org/PR87865
    https://github.com/dlang/dmd/pull/8910

    Move checkedint to dmd/root.
    https://github.com/dlang/dmd/pull/8912

    Use rmem instead of libc for malloc() and strdup().
    https://github.com/dlang/dmd/pull/8913

    Use align(8) for alignment of UnionExp, fixing several BUS errors
    due to alignment issues on SPARC.
    https://github.com/dlang/dmd/pull/8914

    Don't pass NULL pointer as format parameter to errorSupplemental.
    https://github.com/dlang/dmd/pull/8916

gcc/d/ChangeLog:

2018-11-05  Iain Buclaw  <ibuclaw@gdcproject.org>

PR d/87865
* d-system.h: New file.

From-SVN: r265780
104 files changed:
gcc/d/ChangeLog
gcc/d/d-system.h [new file with mode: 0644]
gcc/d/dmd/MERGE [new file with mode: 0644]
gcc/d/dmd/access.c
gcc/d/dmd/aggregate.h
gcc/d/dmd/aliasthis.c
gcc/d/dmd/aliasthis.h
gcc/d/dmd/apply.c
gcc/d/dmd/argtypes.c
gcc/d/dmd/arrayop.c
gcc/d/dmd/attrib.c
gcc/d/dmd/attrib.h
gcc/d/dmd/canthrow.c
gcc/d/dmd/clone.c
gcc/d/dmd/compiler.h
gcc/d/dmd/cond.c
gcc/d/dmd/constfold.c
gcc/d/dmd/cppmangle.c
gcc/d/dmd/ctfeexpr.c
gcc/d/dmd/dcast.c
gcc/d/dmd/dclass.c
gcc/d/dmd/declaration.c
gcc/d/dmd/declaration.h
gcc/d/dmd/delegatize.c
gcc/d/dmd/denum.c
gcc/d/dmd/dimport.c
gcc/d/dmd/dinterpret.c
gcc/d/dmd/dmacro.c
gcc/d/dmd/dmangle.c
gcc/d/dmd/dmodule.c
gcc/d/dmd/doc.c
gcc/d/dmd/doc.h
gcc/d/dmd/dscope.c
gcc/d/dmd/dstruct.c
gcc/d/dmd/dsymbol.c
gcc/d/dmd/dsymbol.h
gcc/d/dmd/dtemplate.c
gcc/d/dmd/dversion.c
gcc/d/dmd/entity.c
gcc/d/dmd/enum.h
gcc/d/dmd/errors.h
gcc/d/dmd/expression.c
gcc/d/dmd/expression.h
gcc/d/dmd/expressionsem.c
gcc/d/dmd/func.c
gcc/d/dmd/globals.h
gcc/d/dmd/hdrgen.c
gcc/d/dmd/hdrgen.h
gcc/d/dmd/identifier.c
gcc/d/dmd/idgen.c
gcc/d/dmd/impcnvgen.c
gcc/d/dmd/imphint.c
gcc/d/dmd/import.h
gcc/d/dmd/init.c
gcc/d/dmd/initsem.c
gcc/d/dmd/intrange.c
gcc/d/dmd/json.c
gcc/d/dmd/lexer.c
gcc/d/dmd/macro.h
gcc/d/dmd/mars.h
gcc/d/dmd/module.h
gcc/d/dmd/mtype.c
gcc/d/dmd/nspace.c
gcc/d/dmd/nspace.h
gcc/d/dmd/opover.c
gcc/d/dmd/optimize.c
gcc/d/dmd/parse.c
gcc/d/dmd/parse.h
gcc/d/dmd/root/aav.c
gcc/d/dmd/root/aav.h
gcc/d/dmd/root/array.h
gcc/d/dmd/root/checkedint.c [moved from gcc/d/dmd/checkedint.c with 99% similarity]
gcc/d/dmd/root/checkedint.h [moved from gcc/d/dmd/checkedint.h with 90% similarity]
gcc/d/dmd/root/dcompat.h
gcc/d/dmd/root/dsystem.h [new file with mode: 0644]
gcc/d/dmd/root/file.c
gcc/d/dmd/root/file.h
gcc/d/dmd/root/filename.c
gcc/d/dmd/root/hash.h
gcc/d/dmd/root/object.h
gcc/d/dmd/root/outbuffer.c
gcc/d/dmd/root/outbuffer.h
gcc/d/dmd/root/port.h
gcc/d/dmd/root/rmem.c
gcc/d/dmd/root/rmem.h
gcc/d/dmd/root/rootobject.c
gcc/d/dmd/root/speller.c
gcc/d/dmd/root/stringtable.c
gcc/d/dmd/sapply.c
gcc/d/dmd/sideeffect.c
gcc/d/dmd/statement.c
gcc/d/dmd/statementsem.c
gcc/d/dmd/staticassert.c
gcc/d/dmd/staticassert.h
gcc/d/dmd/target.h
gcc/d/dmd/template.h
gcc/d/dmd/tokens.c
gcc/d/dmd/traits.c
gcc/d/dmd/unittests.c [deleted file]
gcc/d/dmd/utf.c
gcc/d/dmd/utf.h
gcc/d/dmd/utils.c
gcc/d/dmd/version.h
gcc/d/dmd/visitor.h