From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16366 invoked by alias); 6 Jan 2003 22:45:30 -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 14427 invoked from network); 6 Jan 2003 22:42:56 -0000 Received: from unknown (HELO stephens.ittc.ku.edu) (129.237.125.220) by 209.249.29.67 with SMTP; 6 Jan 2003 22:42:56 -0000 Received: from basie.ittc.ku.edu (basie.ittc.ku.edu [129.237.127.28]) by stephens.ittc.ku.edu (8.12.6/8.12.6/ITTC-ANTISPAM-ANTIVIRUS-3.0) with ESMTP id h06MghW2002367; Mon, 6 Jan 2003 16:42:43 -0600 Received: from localhost by basie.ittc.ku.edu (8.11.2/KU-4.0-client) id h06MghW02370; Mon, 6 Jan 2003 16:42:43 -0600 Date: Mon, 06 Jan 2003 22:47:00 -0000 From: Satyavathi Malladi To: cc: Subject: problem with -ax option In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-VirusScan: Clean X-SW-Source: 2003-01/txt/msg00299.txt.bz2 I have used the -ax option to profile a program. The program makes some library function calls. So, I recompiled the library with profiling turned on for the library functions. A particular library function is called 3 times in my program. But the basic block, corresponding to the entry to that function, is entered only for the first two times and not entered the 3rd time. I ran the program several times and observed the same behavior. The basic block corresponding to the exit of the library function is ,however, entered. Could anyone pls help me figure out what the problem could be. Thanks, Satya