http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46233
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-10-29 20:56:43 UTC --- Here is a simple testcase which shows the problem is not in the tail call optimization pass: int foo () { int i = 0; while (1) { i += foo (); } } --- CUT --- Compile at -O1 -fno-tree-dce.