From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6162 invoked by alias); 27 Feb 2007 09:50:20 -0000 Received: (qmail 6149 invoked by uid 22791); 27 Feb 2007 09:50:19 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 27 Feb 2007 09:50:15 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.1/8.13.1) with ESMTP id l1R9oDkq007490 for ; Tue, 27 Feb 2007 04:50:13 -0500 Received: from zebedee.littlepinkcloud.COM (vpn-14-195.rdu.redhat.com [10.11.14.195]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l1R9oAa3030983; Tue, 27 Feb 2007 04:50:11 -0500 Received: from littlepinkcloud.COM (localhost.localdomain [127.0.0.1]) by zebedee.littlepinkcloud.COM (8.13.8/8.13.5) with ESMTP id l1R9oA8q022026; Tue, 27 Feb 2007 09:50:10 GMT Received: (from aph@localhost) by littlepinkcloud.COM (8.13.8/8.13.5/Submit) id l1R9o9tQ022023; Tue, 27 Feb 2007 09:50:09 GMT MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17891.65233.489902.789046@zebedee.pink> Date: Tue, 27 Feb 2007 10:04:00 -0000 From: Andrew Haley To: ranjith kumar Cc: gcc-help@gcc.gnu.org Subject: Re: What happens when -O1 flag is used? In-Reply-To: <20070223124022.53743.qmail@web27407.mail.ukl.yahoo.com> References: <20070223124022.53743.qmail@web27407.mail.ukl.yahoo.com> X-Mailer: VM 7.19 under Emacs 22.0.93.1 X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2007-02/txt/msg00355.txt.bz2 ranjith kumar writes: > Hi, > 1)Are -O and -O1 flags equal? Yes. > 2) What happens internally when -O1/-O flag is > used? The variable "optimize" is set to 1. > I have been searching gcc internal manuals. But > I could not locate. > Where can I find it.Any help please. Read the source, Luke Skywalker. Andrew.