http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46562
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-19 15:57:32 UTC --- SCCVN also fails to recognize &a[i_1] as constant. I'll add a get_addr_base_and_unit_offset variant with a callback to valueize SSA names. That should cover both.