Empty loop elimination in 4.0 ?
Robert Dewar
dewar@adacore.com
Mon Jan 10 14:56:00 GMT 2005
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.
More information about the Gcc
mailing list