This is the mail archive of the gcc-bugs@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: more ia32 bugs (unrolling)


Jeffrey A Law wrote:

> Just to clarify -- there are cases where a jump can have a null JUMP_LABEL
> (consider a table jump, or a return).

Oops, sorry, should have checked that before I opened my mouth ...

> But for any normal conditional or unconditional jump we should have
> a suitable JUMP_LABEL.  And in Mike's example all I saw were normal jumps.

Could it have something to do with the "while(a--)... ->
if(a)do...while(--a)" loop conversion in the new code ?

This loop looks like it could be a candidate (although it is not exactly
like the example):

    while (0 < newlines--)
      bar();

[ Note: I can't test anything over here - at work; the only
  machines remotely capable of building egcs on are SGI's ]

[ I shouldn't be in this discussion anyway; but I'm waiting
  for a compile ]

--
Toon Moene, KNMI, PO Box 201, 3730 AE De Bilt, The Netherlands.
Tel. +31302206443, Fax +31302210407,  e-mail moene@knmi.nl
URL: http://www.knmi.nl/hirlam


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