2008-05-16 Sebastian Pop <sebastian.pop@amd.com>
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 May 2008 16:02:02 +0000 (16:02 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 May 2008 16:02:02 +0000 (16:02 +0000)
commitc127dd86af4a31150d186e0febf6992215184ce4
tree3a23f8dccec8694c7100a8d3bb896105dd71f2a5
parent376456ce759d913b92a6f99f1d44a51dd7754661
2008-05-16  Sebastian Pop  <sebastian.pop@amd.com>
    Jan Sjodin  <jan.sjodin@amd.com>

PR tree-optimization/36228
* tree-data-ref.c (initialize_data_dependence_relation): Fast dependence
test when the references are the same, call compute_self_dependence.
* tree-data-ref.h (struct data_dependence_relation): Add self_reference_p.
(DDR_SELF_REFERENCE): New.

* testsuite/gcc.dg/vect/pr36228.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135426 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr36228.c [new file with mode: 0644]
gcc/tree-data-ref.c
gcc/tree-data-ref.h