This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Loop unrolling
- To: steve at icarus dot icarus dot com
- Subject: Re: Loop unrolling
- From: Nick Burrett <nick dot burrett at btinternet dot com>
- Date: Tue, 2 Jun 1998 00:38:27 +0100
- CC: pfeifer at dbai dot tuwien dot ac dot at, egcs at cygnus dot com
- References: <199806011514.IAA02191@icarus.icarus.com>
Stephen Williams wrote:
> pfeifer@dbai.tuwien.ac.at said:
> > As a matter of fact, is there still any strong reason not to delete
> > empty loops in general?
> As a matter of fact, there is. Us embedded programmers are sometimes
> compelled to write timing loops. I guess we should (and I usually do)
> make those loops non-empty, but still ....
You could always add a command line switch: -fremove-empty-loops
Nick.