aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/expr.c
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2020-06-28 17:46:18 +0200
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:15:13 -0300
commit45d6dfb0973ce649038bc4cb777da67ef4ef0130 (patch)
tree8d027fcc4c9978f4f5c4a1be0f2611e7518bbc8b /gcc/fortran/expr.c
parenta4f7d63e1440ca169e57d95f635ab6465565fbdf (diff)
downloadgcc-45d6dfb0973ce649038bc4cb777da67ef4ef0130.zip
gcc-45d6dfb0973ce649038bc4cb777da67ef4ef0130.tar.gz
gcc-45d6dfb0973ce649038bc4cb777da67ef4ef0130.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/fortran/expr.c')
0 files changed, 0 insertions, 0 deletions