This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/22401] DOM messes up the profiling info
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Aug 2005 04:22:11 -0000
- Subject: [Bug tree-optimization/22401] DOM messes up the profiling info
- References: <20050711051415.22401.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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