This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Loop unrolling
- To: oliva at dcc dot unicamp dot br, rth at cygnus dot com
- Subject: Re: Loop unrolling
- From: mrs at wrs dot com (Mike Stump)
- Date: Fri, 12 Jun 1998 18:40:31 -0700
- Cc: amylaar at cygnus dot co dot uk, egcs-patches at cygnus dot com, egcs at cygnus dot com, pfeifer at dbai dot tuwien dot ac dot at
> From: Alexandre Oliva <oliva@dcc.unicamp.br>
> Date: 12 Jun 1998 17:53:53 -0300
> So why don't we decide to remove empty loops regardless of them
> being explicit or not, and suggest people to use this syntax or
> -fno-remove-empty-loops in order to prevent empty loops from being
> optimized away?
I haven't seen a good reason yet to add a flag. Flags cost money.
Don't add a flag, unless you have a good reason.