public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Satyavathi Malladi <satya@ittc.ku.edu>
To: <gcc@gcc.gnu.org>
Cc: <gcc-help@gcc.gnu.org>
Subject: problem with -ax option in gcc-2.95
Date: Tue, 07 Jan 2003 01:31:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.33.0301061923260.5583-100000@basie.ittc.ku.edu> (raw)
In-Reply-To: <Pine.LNX.4.33.0301061802210.2992-100000@basie.ittc.ku.edu>

On Mon, 6 Jan 2003, Satyavathi Malladi wrote:

 I am using gcc-2.95. Does -ax works fine with this version.

 Satya
> On Mon, 6 Jan 2003, Janis Johnson wrote:
>
> > On Mon, Jan 06, 2003 at 04:42:43PM -0600, Satyavathi Malladi wrote:
> > >
> > > 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.
> >
> > Profiling with -ax was broken in GCC 3.0 and was removed in GCC 3.1.
> > Try using -ftest-coverage -fprofile-arcs.
> >
> > Janis
> >
>

           reply	other threads:[~2003-01-07  1:27 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <Pine.LNX.4.33.0301061802210.2992-100000@basie.ittc.ku.edu>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.33.0301061923260.5583-100000@basie.ittc.ku.edu \
    --to=satya@ittc.ku.edu \
    --cc=gcc-help@gcc.gnu.org \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).