------- Comment #2 from mikael dot morin at tele2 dot fr 2008-10-29 21:06 ------- Created an attachment (id=16585) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16585&action=view) proposed patch, regression tested
This patch solves the problem by going through all the loop dimensions in gfc_trans_create_temp_array to look for a NULL loop->to before the actual loop execution and set size to NULL if one is found (it solves conditions (4) and (5)). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37749