This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/37749] ICE on array section with vector subscript



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]