This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Loop unrolling
- To: rth at cygnus dot com
- Subject: Re: Loop unrolling
- From: Joe Buck <jbuck at synopsys dot com>
- Date: Wed, 3 Jun 98 8:35:56 PDT
- Cc: jbuck at synopsys dot com, jfc at mit dot edu, law at cygnus dot com, egcs at cygnus dot com
re: removing emptly loops:
> If someone actually bitches, I suppose we could provide a switch
> to disable the optimization, but I would prefer that it be on by
> default.
Fine with me. I suggest that there be a flag
-fremove-empty-loops
which is on by default (or, at least, turned on by -O or -Ospace),
and that we tell users that they can say
-fno-remove-empty-loops
if they really need them for some reason. The only reason for this
is that it has been in the manual for so long that empty loops are
not removed. We may both think that no one cares, but I'm afraid
that someone will, and possibly he will be one of your customers.