This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Empty loop elimination in 4.0 ?
- From: Robert Dewar <dewar at adacore dot com>
- To: Michael Veksler <VEKSLER at il dot ibm dot com>
- Cc: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>, gcc at gcc dot gnu dot org
- Date: Mon, 10 Jan 2005 08:49:00 -0500
- Subject: Re: Empty loop elimination in 4.0 ?
- References: <OF3DD3B111.8D577FDE-ON42256F85.00269B85-42256F85.002A3EC0@il.ibm.com>
I think it is always a good idea to generate a warning
when an empty loop is detected (whether or not it is
eliminated), since this is either a timing loop, or it
is likely a bug.