aboutsummaryrefslogtreecommitdiff
path: root/ltsugar.m4
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2020-08-03 18:23:39 -0700
committerIan Lance Taylor <iant@golang.org>2020-08-04 10:21:37 -0700
commitacf83db025cfd4a67724838e9dbd19813f4f5960 (patch)
tree12cde63bf9a622dfefb2888799f6c411a960f8ae /ltsugar.m4
parent1790d13dc8ffb3b454f2ca5e4a6d6d482f7fa985 (diff)
downloadgcc-acf83db025cfd4a67724838e9dbd19813f4f5960.zip
gcc-acf83db025cfd4a67724838e9dbd19813f4f5960.tar.gz
gcc-acf83db025cfd4a67724838e9dbd19813f4f5960.tar.bz2
compiler: delete lowered constant strings
If we lower a constant string operation in a Binary_expression, delete the strings. This is safe because constant strings are always newly allocated. This is a hack to use much less memory when compiling the new time/tzdata package, which has a file that contains the sum of over 13,000 constant strings. We don't do this for numeric expressions because that could cause us to delete an Iota_expression. We should have a cleaner approach to memory usage some day. Fixes PR go/96450
Diffstat (limited to 'ltsugar.m4')
0 files changed, 0 insertions, 0 deletions