This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/22401] DOM messes up the profiling info


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-05 04:22 -------
(In reply to comment #1)
> DOM seems to be innocent here.

Hmm, VRP gets it correct, in that there are no warnings for the following code:

void __show_backtrace(void *rw)
{
  if (rw == 0)  return;

L0:;
  if (rw != 0) goto L0;

}

Which is equivalent to the what the trees look when it gets to DOM but then again VRP happens before 
profile happens.

-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]