https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102519
Bug ID: 102519 Summary: [12 Regression] VRP Jump threader memory explosion Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: memory-hog Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: dje at gcc dot gnu.org CC: aldyh at gcc dot gnu.org, law at gcc dot gnu.org Target Milestone: --- After the VRP jump threader replacement on Monday, September 27, memory usage for some testcases, such as gcc.target/powerpc/rlwimi-1.c has doubled. This is causing new testsuite failures on AIX because of the default lower memory limits on AIX. The testcases previously compiled with 1GB data size for the compiler, and now require 2GB data size. Similar to the problem exposed by Martin Sebor's patch a few weeks ago, this likely is a problem with memory allocation in the new pass. A data structure not placed in GC or not correctly tracked by GC.