https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121200
Bug ID: 121200 Summary: RAM usage ballooning (18G) for a source file Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- On the course of my build I'm observing a file that takes 18.5G of RAM and an ungodly amount of time (more than 15 minutes on a AMD ThreadRipper 7965WX) to build with various versions of GCC-14. It wasn't an issue with GCC-13 and is not an issue with Clang. This can be reproduced in the following way through an ubuntu:24.04 docker image: apt -yqq update apt -yqq install git cmake git clone --recursive -j16 https://github.com/ossia/score cd score source ci/ubuntu.noble.deps.sh export CC=gcc-14 export CXX=g++-14 cmake -S . -B build -GNinja -DSCORE_DEPLOYMENT_BUILD=1 -DBUILD_SHARED_LIBS=0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_COLOR_DIAGNOSTICS=auto cd build ninja src/plugins/score-plugin-avnd/CMakeFiles/score_plugin_avnd.dir/__/__/__/kabang_avnd.cpp.o