This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/42131] Weird translation of DO loops
- From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Nov 2009 23:43:25 -0000
- Subject: [Bug fortran/42131] Weird translation of DO loops
- References: <bug-42131-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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