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.

Reply via email to