From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31422 invoked by alias); 16 Feb 2008 11:24:25 -0000 Received: (qmail 31261 invoked by uid 48); 16 Feb 2008 11:23:40 -0000 Date: Sat, 16 Feb 2008 11:24:00 -0000 Message-ID: <20080216112340.31260.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/35204] [4.3 Regression] crash by too deep recursion in DFS tree-ssa-sccvn.c:1898 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-02/txt/msg01777.txt.bz2 ------- Comment #16 from rguenth at gcc dot gnu dot org 2008-02-16 11:23 ------- The problem with doing a non-recursive version of DFS as for GCC SCCVN is to "split" the FOR_EACH_PHI_OR_STMT_USE walk. You would need to open-code this and keep a stack of ssa_op_iters, ugly but certainly not impossible. Steven, did you try something along this route? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35204