public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/45111]  New: main function isn't profiled
@ 2010-07-28 18:18 ktietz at gcc dot gnu dot org
  0 siblings, 0 replies; only message in thread
From: ktietz at gcc dot gnu dot org @ 2010-07-28 18:18 UTC (permalink / raw)
  To: gcc-bugs

I recently noticed that for the main function the _monstartup call gets emitted
after _mcount call. This leads to the issue, that for the main function itself
no information are getting gathered.

A possible solution here would be to call mcount for main-function, if not
-mfentry is used, a second time. This shouldn't harm.

Any comments?


-- 
           Summary: main function isn't profiled
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ktietz at gcc dot gnu dot org
GCC target triplet: i?86-*-cygwin *-*-mingw*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45111


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-28 18:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-28 18:18 [Bug target/45111] New: main function isn't profiled ktietz at gcc dot gnu dot org

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).