------- Comment #4 from paul dot richard dot thomas at cea dot fr 2006-05-12 11:42 ------- Created an attachment (id=11442) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11442&action=view) Patch to effect compile time checking
Thomas, The attached patch corrects the problem and is presently regtesting. Of course, it can only deal with constant values of dim so the runtime checking should remain in place. Gruesse Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19015