[Bug go/96450] [11 Regression] Go bootstrap failure on i686-linux

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 4 17:21:57 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96450

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Ian Lance Taylor <ian@gcc.gnu.org>:

https://gcc.gnu.org/g:acf83db025cfd4a67724838e9dbd19813f4f5960

commit r11-2559-gacf83db025cfd4a67724838e9dbd19813f4f5960
Author: Ian Lance Taylor <iant@golang.org>
Date:   Mon Aug 3 18:23:39 2020 -0700

    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


More information about the Gcc-bugs mailing list