]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR d/90559
authoribuclaw <ibuclaw@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 Jun 2019 07:50:20 +0000 (07:50 +0000)
committeribuclaw <ibuclaw@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 Jun 2019 07:50:20 +0000 (07:50 +0000)
commit960d7913321bce56e4cb16c38500f6c8b1291853
tree84e3d719a3b7181744a750bb09ccd7984f277ea4
parent160733ff9857ea6b430e9205452df5228b9e4715
PR d/90559
d/dmd: Merge upstream dmd 7afcc60c3

Partially fixes out of memory because of negative length.

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

gcc/d/ChangeLog:

2019-06-16  Iain Buclaw  <ibuclaw@gdcproject.org>

PR d/90559
* d-target.cc (Target::_init): Reduce max static data size to INT_MAX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@272351 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/d/ChangeLog
gcc/d/d-target.cc
gcc/d/dmd/MERGE
gcc/d/dmd/clone.c
gcc/d/dmd/expressionsem.c
gcc/d/dmd/mtype.c
gcc/d/dmd/mtype.h
gcc/testsuite/gdc.test/fail_compilation/staticarrayoverflow.d