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: Jim Wilson <wilson at cygnus dot com>
- Subject: Re: [CVS 980326]: Bug in haifa scheduler on sparc-sun-solaris2.5.1
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 06 Apr 1998 22:02:59 -0600
- cc: Manfred Hollstein <manfred at s-direktnet dot de>, Manfred dot Hollstein at ks dot sel dot alcatel dot de, egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199804070046.RAA11010@rtl.cygnus.com>you write:
> The problem here is that combine simplified a conditional branch into an
> unconditional branch, causing the immediately following loop to become
> unreachable.
Ah.
> 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.
Sounds like we need to do a standard reachability check. I'll put it
on the todo list. Shouldn't be too hard.
jeff