------- Comment #16 from rguenth at gcc dot gnu dot org 2009-02-12 16:52 ------- Actually for PR26854 it is just one loop that is detected, covering all of the function (with approx. 56000 basic blocks and one basic-block that has edges to all other basic blocks in the loop). So the default for the param could indeed be 10000 here. And possibly it's not really the large number of blocks but that the in/out-degree of that single basic-block with the computed goto.
Thus, I'd suggest again to not recognize such loops or maybe mark them specially? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39157