2008-03-31 Andrew Pinski <andrew_pinski@playstation.sony.com>
commit70a866cf8dac73a244d12c64eba8aceb51fec209
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 Mar 2008 18:22:05 +0000 (31 18:22 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 Mar 2008 18:22:05 +0000 (31 18:22 +0000)
tree05015805c094c492567941926cc55180a8afe552
parent168de4c5ee54a81e45ead1466e29bb607951fbf9
2008-03-31  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/30186
        * fold-const.c (fold_indirect_ref_1): Support accessing non first
        element of the vector via a pointer.

2008-03-31  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/30186
        * gcc.dg/tree-ssa/vector-1.c: New testcase.
        * gcc.c-torture/execute/vector-1.c: New testcase.
        * gcc.c-torture/execute/vector-2.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133766 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/vector-1.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/vector-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/vector-1.c [new file with mode: 0644]