------- Comment #8 from rguenth at gcc dot gnu dot org 2007-04-10 16:55 ------- Created an attachment (id=13348) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13348&action=view) patch
Actually that breaks with some hashing. I have a slightly different approach in testing now. We are inconsistent in gimplifying ARRARY_REFs - for one part we only set operands 2 and 3 if they are not gimple_min_invariant, for another part we set them nevertheless. Comparing array indices by value for operand_equal_p is still the way to go I think (unless we want to fix all builders of ARRAY_REFs...). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31307