public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/22401] New: DOM messes up the profiling info
@ 2005-07-11  5:14 pinskia at gcc dot gnu dot org
  2005-07-11 16:26 ` [Bug tree-optimization/22401] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-11  5:14 UTC (permalink / raw)
  To: gcc-bugs

Take the following simple example loop:
void __show_backtrace(void *rw)
{
  while(rw);
}

We get invalid warnings in the tree dumps about profiling info being wrong:
__show_backtrace (rw)
{
<L3>:;
  if (rw_1 != 0B) goto <L0>; else goto <L2>;

Invalid sum of incoming frequencies 9879, should be 8900
<L0>:;
  goto <bb 1> (<L0>);

Invalid sum of incoming frequencies 121, should be 1100
<L2>:;
  return;

}

I am filing this because for 4.2, I hear that the rtl level profiling info will be coming from the tree level 
(after loop.c is removed).

-- 
           Summary: DOM messes up the profiling info
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,law at gcc dot gnu dot
                    org


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-07-06 17:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-22401-4@http.gcc.gnu.org/bugzilla/>
2014-07-28 17:21 ` [Bug tree-optimization/22401] DOM messes up the profiling info law at redhat dot com
2021-08-23 23:11 ` pinskia at gcc dot gnu.org
2023-07-06 17:01 ` hubicka at gcc dot gnu.org
2005-07-11  5:14 [Bug tree-optimization/22401] New: " pinskia at gcc dot gnu dot org
2005-07-11 16:26 ` [Bug tree-optimization/22401] " pinskia at gcc dot gnu dot org
2005-07-15 10:01 ` hubicka at gcc dot gnu dot org
2005-07-15 22:18 ` pinskia at gcc dot gnu dot org
2005-08-05  4:22 ` pinskia 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).