[Bug fortran/42131] Weird translation of DO loops
kargl at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Nov 26 22:07:00 GMT 2009
------- Comment #14 from kargl at gcc dot gnu dot org 2009-11-26 22:07 -------
(In reply to comment #13)
> }
> countm1.1 = (((character(kind=4)) D.1338 - (character(kind=4)) D.1337) *
> (character(kind=4)) step_sign.2) / (character(kind=4)) (step_sign.2 * D.1339);
>
> implementing the multiplication idea outlined above, and passes at
> least do_3.F90.
>
> Better?
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).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42131
More information about the Gcc-bugs
mailing list