This is the mail archive of the
mailing list for the GCC project.
Re: Empty loop elimination in 4.0 ?
Andrew Pinski wrote:
Or even in C now a days with all the optimizations we could do like
converting some loops to memset which still keeps the loop because it is
ideal to have later passes delete the loop.
A loop converted to memset is not an empty loop! Can you give
some other example to show what you mean. to me if a loop ends
up empty, it is always a case to warn the programmer about.