[Bug fortran/53732] [4.7/4.8 Regression] "mismatching comparison operand types" on compile

mikael at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 20 20:41:00 GMT 2012


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

--- Comment #4 from Mikael Morin <mikael at gcc dot gnu.org> 2012-06-20 20:41:24 UTC ---
(In reply to comment #3)

It seems you have pinpointed it.
Unfortunately, my computer is broken at the moment, so that I have no way to
test myself, let alone propose a patch.
The purpose of my change was to call gfc_add_loop_ss_code on the nested loop
(the sum one) exactly once. But I didn't think that the nested call could have
the wrong subscript flag.
I will think about the best way to tackle the problem. Maybe we could just
disable the nested call if subscript is true.



More information about the Gcc-bugs mailing list