From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 916 invoked by alias); 7 Apr 2003 06:46:00 -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 899 invoked by uid 71); 7 Apr 2003 06:46:00 -0000 Date: Mon, 07 Apr 2003 06:46:00 -0000 Message-ID: <20030407064600.898.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Zack Weinberg Subject: Re: preprocessor/10323: The preprocessor consumes all the memory Reply-To: Zack Weinberg X-SW-Source: 2003-04/txt/msg00226.txt.bz2 List-Id: The following reply was made to PR preprocessor/10323; it has been noted by GNATS. From: Zack Weinberg To: Neil Booth Cc: lu_zero@gentoo.org, gcc-gnats@gcc.gnu.org Subject: Re: preprocessor/10323: The preprocessor consumes all the memory Date: Sun, 06 Apr 2003 23:36:31 -0700 Neil Booth writes: > Zack Weinberg wrote:- > >> lu_zero@gentoo.org writes: >> >> > Preprocessing altivec code it just consumes all the memory and then >> > dies reporting: >> > cpp0: Cannot allocate 262144112 bytes after allocating 7222368 bytes >> >> I can confirm this with mainline, it looks like infinite recursion in >> the macro expander. Neil, can you take a look? > > I'm pretty certain that the macro expander doesn't recurse or loop. > > I've looked at it briefly. It looks like everything is OK - the expansion > is just 100s of megabytes or even gigabytes big. Oh, ok, I probably just got sick of waiting and ^C-ed it before it finished / ran out of memory. zw