Loop unrolling

Jeffrey A Law law@cygnus.com
Thu Sep 17 00:38:00 GMT 1998


  In message < Pine.GSO.4.03.9809161956460.15088-100000@markab.dbai.tuwien.ac.at >you write:
  > The current state of this is that basically the discussion has stopped
  > without any clear decision for or against removal of empty loops and
  > that currently the documentation does not (always) match actual behaviour.
I thought I had said something about this.

Basically I have no objection to the optimizers removing empty loops.
The old arguments against removing them were lame to start with and
they're even more lame now.

If someone wants to submit code to allow loop.c to remove such loops,
it will not be rejected because "gcc isn't supposed to remove empty
loops".


jeff




More information about the Gcc mailing list