Tweak to gengtype
Steven Bosscher
stevenb@suse.de
Thu Jan 20 23:06:00 GMT 2005
On Friday 21 January 2005 00:05, Geoffrey Keating wrote:
> GCC should really be able to remove a trivial empty loop like this one.
> It's easy to prove that it (a) really is empty and (b) is guaranteed
> to terminate. (The second condition is a bit harder, but all the logic
> should be there.) Do you know why it's not being removed?
A design choice. GCC does not remove empty loops because people
don't want it to do so.
Gr.
Steven
More information about the Gcc-patches
mailing list