From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14212 invoked by alias); 2 Dec 2004 17:17:50 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 14020 invoked from network); 2 Dec 2004 17:17:36 -0000 Received: from unknown (HELO mail2.codesourcery.com) (66.160.135.55) by sourceware.org with SMTP; 2 Dec 2004 17:17:36 -0000 Received: (qmail 18154 invoked from network); 2 Dec 2004 17:17:35 -0000 Received: from support.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.10) by mail2.codesourcery.com with SMTP; 2 Dec 2004 17:17:35 -0000 Received: (qmail 20226 invoked from network); 2 Dec 2004 17:17:35 -0000 Received: from localhost (HELO ?192.168.189.167?) (nathan@127.0.0.1) by mail.codesourcery.com with SMTP; 2 Dec 2004 17:17:35 -0000 Message-ID: <41AF4E27.7070606@codesourcery.com> Date: Thu, 02 Dec 2004 17:17:00 -0000 From: Nathan Sidwell Organization: Codesourcery LLC User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913 MIME-Version: 1.0 To: Richard Guenther CC: Steven Bosscher , "Joseph S. Myers" , Ian Lance Taylor , mark@codesourcery.com, gcc@gcc.gnu.org Subject: Re: Compiler uses a lot of memory for large initialized arrays References: <425929.1102007117190.SLOX.WebMail.wwwrun@extimap.suse.de> <84fc9c000412020912298ed15c@mail.gmail.com> In-Reply-To: <84fc9c000412020912298ed15c@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-12/txt/msg00133.txt.bz2 Richard Guenther wrote: > Or can't we seek in the asm output and overwrite previously written values? > Might be slow, though. Even if that were sensible, where will we remember the file offsets of each and every element :) nathan -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk