This is the mail archive of the gcc-patches@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]

Re: bb-reorder crashes on potential-fall-through computed jumps


On Feb  5, 2001, Richard Henderson <rth@redhat.com> wrote:

> On Fri, Feb 02, 2001 at 05:21:35PM -0200, Alexandre Oliva wrote:
>> The problem is that the subsequent basic block is indeed one of the
>> potential edges, so the jump is considered as a potential fall-through,
>> so we end up crashing.

> That would be incorrect.  Only conditional branches have fall-through.
> If we're considering a computed branch to the next block to be fall-
> through we're wrong.

Ok.  The first time I met this problem, it was a conditional jump
indeed.  This time, I just assumed it was the same problem.  I'll
investigate some more.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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