This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [CVS 980326]: Bug in haifa scheduler on sparc-sun-solaris2.5.1
- To: wilson at cygnus dot com
- Subject: Re: [CVS 980326]: Bug in haifa scheduler on sparc-sun-solaris2.5.1
- From: Manfred Hollstein US/EPB3 60/1F/110 #40283 <Manfred dot Hollstein at ks dot sel dot alcatel dot de>
- Date: Thu, 16 Apr 1998 08:20:54 +0200 (MET DST)
- Cc: egcs-bugs at cygnus dot com, law at cygnus dot com
- References: <13594.23910.216385.20035@slsvhmt> <199804070046.RAA11010@rtl.cygnus.com>
- Reply-To: Manfred Hollstein <manfred at s-direktnet dot de>, Manfred dot Hollstein at ks dot sel dot alcatel dot de
On Mon, 6 April 1998, 17:46:54, wilson@cygnus.com wrote:
> The problem here is that combine simplified a conditional branch into an
> unconditional branch, causing the immediately following loop to become
> unreachable. Haifa-sched's code for detecting unreachable blocks doesn't
> work in the presense of unreachable loops. It is trivial to patch this
> for now, but I think we need something stronger long term.
>
> Mon Apr 6 17:23:41 1998 Jim Wilson <wilson@cygnus.com>
>
> * haifa-sched.c (build_control_flow): Set unreachable for block whose
> only predecessor is itself.
>
Thanks for the patch - it works perfectly.
manfred