https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78140
--- Comment #27 from Martin Jambor <jamborm at gcc dot gnu.org> --- I have submitted a patch to the mailing list, which re-uses value_ranges and ipa_bits in jump functions and manages to save more than one gigabyte of memory: https://gcc.gnu.org/ml/gcc-patches/2017-02/msg01369.html Unfortunately, something else has added a further gigabyte to WPA of FF in the last week: | compiler | wpa mem (GB) | |---------------------+--------------| | gcc 6 branch | 3.86 | | trunk rev. 245382 | 5.21 | | patched rev. 245382 | 4.06 | | trunk rev. 245595 | 6.59 | | patched rev. 245595 | 5.25 | I will try bisecting to find if there is one single change responsible for this.