From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7281 invoked by alias); 25 Jul 2002 22:45:33 -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 7274 invoked from network); 25 Jul 2002 22:45:32 -0000 Received: from unknown (HELO www.linux.org.uk) (195.92.249.252) by sources.redhat.com with SMTP; 25 Jul 2002 22:45:32 -0000 Received: from adsl-34-136-95.asm.bellsouth.net ([67.34.136.95] helo=mandrakesoft.com) by www.linux.org.uk with esmtp (Exim 3.33 #5) id 17XrMR-00064Q-00 for gcc@gcc.gnu.org; Thu, 25 Jul 2002 23:45:31 +0100 Message-ID: <3D407F7B.4050103@mandrakesoft.com> Date: Fri, 26 Jul 2002 07:05:00 -0000 From: Jeff Garzik Organization: MandrakeSoft User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020510 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gcc@gcc.gnu.org Subject: bootstrapping with profiling feedback? X-Enigmail-Version: 0.65.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-07/txt/msg01260.txt.bz2 Has anyone done any work towards inserting a -fprofile-arcs step into "make bootstrap"? A search of gcc and gcc-patches list archives didn't reveal anything immediately... I'm assuming an implementation would look something like: build stage1 using platform compiler build stage2 using stage1 and -fprofile-arcs build stage3 using stage2 and -fbranch-probabilities build stage4 using stage3 and -fbranch-probabilities compare stage 3 and 4 .o files Maybe this could be called "make profilestrap"? ;-)