re PR tree-optimization/66768 (address space gets lost on literal pointer)
authorBin Cheng <bin.cheng@arm.com>
Thu, 2 Mar 2017 11:25:11 +0000 (11:25 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Thu, 2 Mar 2017 11:25:11 +0000 (11:25 +0000)
commit653a4b32fe72e33bfd4cdd4c25493049524a3805
treed30393d7ea34a1cb5755199e3cb75f71ce085221
parent6d03bdcc8196414a7d14d21629257ea746e82385
re PR tree-optimization/66768 (address space gets lost on literal pointer)

PR tree-optimization/66768
* tree-ssa-loop-ivopts.c (find_interesting_uses_address): Skip addr
iv_use if base object can't be determined.

gcc/testsuite
* gcc.target/i386/pr66768.c: New test.

From-SVN: r245837
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr66768.c [new file with mode: 0644]
gcc/tree-ssa-loop-ivopts.c