This patch improves the dependence analysis by allowing the extraction of a constant offset from a base object when the base object address is computed in a different statement. The patch passed bootstrap and make check on amd64-linux. 2007-07-30 Jan Sjodin * tree-data-ref.c (split_constant_offset): Enable split_constant_offset to extract constants from other statements. * tree-vect-transform.c (vect_create_addr_base_for_vector_ref): Generate data_ref_base to a temp var. Force base_offset to be simple. 2007-07-30 Jan Sjodin * gcc.dg/vect/vect-117.c: New test. * gcc.dg/vect/vect-74.c: Enabled test * gcc.dg/vect/vect-81.c: Enabled test