From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1454 invoked by alias); 9 May 2003 13:16:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 1402 invoked by uid 71); 9 May 2003 13:16:00 -0000 Date: Fri, 09 May 2003 13:16:00 -0000 Message-ID: <20030509131600.1401.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Giovanni Bajo" Subject: Re: c++/10060: ICE on huge file (300k lines) Reply-To: "Giovanni Bajo" X-SW-Source: 2003-05/txt/msg00730.txt.bz2 List-Id: The following reply was made to PR c++/10060; it has been noted by GNATS. From: "Giovanni Bajo" To: , "Andrew Pinski" Cc: "Andrew Pinski" , , , , Subject: Re: c++/10060: ICE on huge file (300k lines) Date: Fri, 9 May 2003 15:10:15 +0200 Andrew Pinski wrote: >> 00281958 ggc_alloc (55, 0, 0, 550404, 0, 0) >> 00129f98 copy_rtx_if_shared (0, 17527728, 0, 33a5c8, 2, 55) + 170 >> 00129f10 copy_rtx_if_shared (17527710, 17527b60, 0, 1, 33a5c8, 4c) + >> e8 >> 00129f10 copy_rtx_if_shared (0, 17527f98, 0, 0, 33a5c8, 3) + e8 >> 00129f10 copy_rtx_if_shared (0, 175303d8, 0, 0, 33a5c8, 3) + e8 >> 00129f10 copy_rtx_if_shared (0, 17530810, 0, 0, 33a5c8, 3) + e8 > This looks like a stack overflow, a temporary fix is to up the limit on > the stacksize. > The real fix is to change copy_rtx_if_shared to be non-recursive. I'm not confident with internals of GCC, but I guess this bug should be moved to the "middle-end" section. Do you agree, Andrew? Giovanni Bajo