[Bug fortran/42131] Weird translation of DO loops

tkoenig at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Nov 26 23:43:00 GMT 2009



------- Comment #15 from tkoenig at gcc dot gnu dot org  2009-11-26 23:43 -------
(In reply to comment #14)

> Looks much better than the current situation.  Is there a valid
> reason for the character(kind=4) casts?  I would have thought
> that this should be a integer(kind=4).

The casts are generated for unsigned types, which we need because
the difference between two integers can be larger than huge(integer).
Beats me why this is character instead of unsigned.


-- 


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



More information about the Gcc-bugs mailing list