This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18694] [4.0 regression] loop miscompilation at -O1 (-ftree-ch)
- From: "law at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Dec 2004 16:47:46 -0000
- Subject: [Bug tree-optimization/18694] [4.0 regression] loop miscompilation at -O1 (-ftree-ch)
- References: <20041127224610.18694.falk@debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From law at redhat dot com 2004-12-09 16:47 -------
Subject: Re: [4.0 regression] loop
miscompilation at -O1 (-ftree-ch)
On Thu, 2004-12-09 at 14:19 +0000, schwab at suse dot de wrote:
> ------- Additional Comments From schwab at suse dot de 2004-12-09 14:19 -------
> The patch does no good on ia64, it causes the stage2 compiler to be
> miscompiled.
Any chance you could do a little analysis on this? All Kazu's change
does is cause us to ignore certain (bogus) equivalences. If that's
causing stage2 to be mis-compiled, then, well we've clearly got deeper
problems.
Having at least a rough idea of the root cause of the ia64 failure
would be good as I can keep that issue in mind as a rethink how the
jump thread selection code ought to work when dealing with loops.
You might be able to at least get some idea of the failure mode by
looking at what jumps are threaded by DOM before/after Kazu's patch.
That may be faster than actually sitting down with the debugger to
figure out what's being mis-compiled.
Jeff
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18694