以下の短いコードは、g++ -O2 -g main.cpp -cなどとコンパイルすると長い時間待たされた後、note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying withoutと出力され、その直後にコンパイルが終わります。 #include <array> int f(); struct Elem { Elem() { f(); } }; struct NTD { ~NTD(); }; struct Foo { NTD ntd; std::array<Elem, 5500>…