------- Comment #16 from matz at gcc dot gnu dot org 2009-10-03 23:18 ------- Created an attachment (id=18700) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18700&action=view) pr41264-test.c
Hmm, seems I used the wrong bug report to assign a nicer testcase. Here the comment and testcase I initially added to PR41264: --- Found a nice testcase for exponential explosion. It's reduced from tree.c (make_vector_type) when building with -fprofile-generate. The testcase needs simply "-O2 -g" and takes a ridiculous amount of > 4GB RAM. It's the tree-ssa-sink pass that triggers this in this case (with slight variations in the testcase I can also make it blow up in RTL fwprop). This means btw. that profiledbootstrap is broken. --- Compile this with % ./cc1 -O2 -g pr41264-test.c and cry. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41343