From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13703 invoked by alias); 10 Nov 2002 20:59:55 -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 13684 invoked by uid 61); 10 Nov 2002 20:59:55 -0000 Date: Sun, 10 Nov 2002 12:59:00 -0000 Message-ID: <20021110205955.13683.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, wscott@ichips.intel.com From: bangerth@dealii.org Reply-To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, wscott@ichips.intel.com, gcc-gnats@gcc.gnu.org Subject: Re: c++/984: GCC cannot efficently initialize a big array X-SW-Source: 2002-11/txt/msg00489.txt.bz2 List-Id: Synopsis: GCC cannot efficently initialize a big array State-Changed-From-To: analyzed->closed State-Changed-By: bangerth State-Changed-When: Sun Nov 10 12:59:54 2002 State-Changed-Why: Someone seems to have ported the C part to C++. With today's CVS, I see (for only 5000 elements): tmp/g> perl bigarry.pl > x.cc tmp/g> cp x.cc x.c tmp/g> time /home/bangerth/bin/gcc-3.3x-pre/bin/gcc -c x.c real 0m24.119s user 0m10.600s sys 0m0.520s tmp/g> time /home/bangerth/bin/gcc-3.3x-pre/bin/gcc -c x.cc real 0m31.587s user 0m14.330s sys 0m0.550s And I get a peak memory use of 140MB for the C front end and 175 MB for the C++ front end. This seems to be in the usual range of increase when moving from C to C++. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=984