[Bug middle-end/55219] [4.7 regression] attempting to compile a pre-processed unit eats up memory until OOM kills the cc1 process
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55219 Markus Trippelsdorf markus at trippelsdorf dot de changed: What|Removed |Added CC||markus at trippelsdorf dot ||de --- Comment #2 from Markus Trippelsdorf markus at trippelsdorf dot de 2012-11-06 15:31:43 UTC --- Here is a reduced testcase that still uses over 2GB of RAM in all supported gcc versions: markus@x4 tmp % cat test.i typedef enum { b } zn_type; int x, a1_1_2, a1_1_8, a1_1_4, a1_1_3, a1_0, a1_0_0, a1_1_5; double a2_0_1; const int a2_1_4; const zn_type a2_0; void fn1 () { a1_0_0 = (a1_0 ? a1_1_2 : a1_0 ? a1_1_3 : a1_0 ? a1_1_4 : a1_0 ? a1_1_5 : a1_0 ? a1_1_3 : a1_0 ? a1_1_4 : a1_0 ? a1_1_8 : x) + (a2_0 ? : a2_0 ? : a2_0 ? : a2_0 ? : a2_0 ? : a2_0 ? : a2_0 ? : a2_0 ? : a2_0 ? : a2_0 ? : a2_0 ? a2_0_1 : a2_0 ? : 0 ? : a2_0 ? : a2_0 ? : a2_0 ? : a2_0 ? : a2_0 ? : a2_0 ? a2_1_4 : a2_0 ? : x); } markus@x4 tmp % ulimit -v 200 markus@x4 tmp % gcc -c test.i virtual memory exhausted: Cannot allocate memory
[Bug middle-end/55219] [4.7 regression] attempting to compile a pre-processed unit eats up memory until OOM kills the cc1 process
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55219 Steven Bosscher steven at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2012-11-06 Ever Confirmed|0 |1 --- Comment #3 from Steven Bosscher steven at gcc dot gnu.org 2012-11-06 21:25:30 UTC --- Problem is in fold-const.c.
[Bug middle-end/55219] [4.7 regression] attempting to compile a pre-processed unit eats up memory until OOM kills the cc1 process
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55219 --- Comment #1 from Matt Hargett matt at use dot net 2012-11-06 01:31:22 UTC --- Perhaps worth noting that gcc/trunk and google/4_7 also still exhibit the problem.
[Bug middle-end/55219] [4.7 regression] attempting to compile a pre-processed unit eats up memory until OOM kills the cc1 process
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55219 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.7.4 Severity|critical|normal