------- Comment #13 from pinskia at gcc dot gnu dot org 2006-11-04 17:28 ------- (In reply to comment #12) > Created an attachment (id=12547) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12547&action=view) [edit] > A testcase to show array reference is ok > > Gcc doesn't have a problem with array reference. That is if I change it > from
Yes because for arrays we keep ARRAY_REF around instead of lowering it to pointer arthematic. See PR 29708 for another testcase which goes funny because of casts in the IR. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29680