aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2020-06-28 17:46:18 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2020-06-28 18:04:20 +0200
commitce56fd949f359a62b86a45aaf975ac2ecc48fa64 (patch)
treedcaa656a7457469c1b72556b0f88eaa377680dd1 /gcc/tree.c
parentb62cac6d92ff251213753475b69ec0b269cb7fae (diff)
downloadgcc-ce56fd949f359a62b86a45aaf975ac2ecc48fa64.zip
gcc-ce56fd949f359a62b86a45aaf975ac2ecc48fa64.tar.gz
gcc-ce56fd949f359a62b86a45aaf975ac2ecc48fa64.tar.bz2
d: Merge upstream dmd 8508c4e68.
Fixes a performance bug where 'static foreach' would take an exponentially long time to expand during CTFE. In the following example: static foreach (i; 0..30000) {} Compilation time had been reduced from around 40 to 0.08 seconds. Memory consumption is also reduced from 3.5GB to 55MB. Reviewed-on: https://github.com/dlang/dmd/pull/11335 gcc/d/ChangeLog: * dmd/MERGE: Merge upstream dmd 8508c4e68.
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions