[Bug fortran/42131] Weird translation of DO loops

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Nov 21 19:24:00 GMT 2009



------- Comment #4 from rguenth at gcc dot gnu dot org  2009-11-21 19:24 -------
The middle-end prefers do { } while () loop style so it knows the loop is
always executed.  It even tries to transform other loop forms into this by
copying the loop header.  So if the FE already can cheaply produce this
it would be prefered.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42131



More information about the Gcc-bugs mailing list