From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29831 invoked by alias); 2 Aug 2009 05:52:27 -0000 Received: (qmail 29822 invoked by uid 22791); 2 Aug 2009 05:52:27 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from ey-out-1920.google.com (HELO ey-out-1920.google.com) (74.125.78.147) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 02 Aug 2009 05:52:21 +0000 Received: by ey-out-1920.google.com with SMTP id 13so648288eye.14 for ; Sat, 01 Aug 2009 22:52:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.210.63.2 with SMTP id l2mr5522230eba.20.1249192337852; Sat, 01 Aug 2009 22:52:17 -0700 (PDT) Date: Sun, 02 Aug 2009 05:52:00 -0000 Message-ID: Subject: stack frame size From: Dineth To: gcc@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-08/txt/msg00017.txt.bz2 Assume the following code. F() { ... A(); } A is called inside F, I want to analyze the stack frame size of F() when A is called. Can this be done in gcc? Note that there may be multiple paths leading to the call site of A(). Which IR should I use? Thanks.