re PR rtl-optimization/84878 (ICE: Segmentation fault (in add_cross_iteration_registe...
authorPeter Bergner <bergner@vnet.ibm.com>
Wed, 4 Apr 2018 15:35:03 +0000 (10:35 -0500)
committerPeter Bergner <bergner@gcc.gnu.org>
Wed, 4 Apr 2018 15:35:03 +0000 (10:35 -0500)
commit8c760464d0148aba6bc8a2f2ab7ecf6a8fd43127
tree1948331ba7d6c2a0461ffe475aeb7fe317c489b1
parentf1acdcd066f3ba2a4565a9e8a002af897161483d
re PR rtl-optimization/84878 (ICE: Segmentation fault (in add_cross_iteration_register_deps))

gcc/
PR rtl-optimization/84878
* ddg.c (add_cross_iteration_register_deps): Use DF_REF_BB to determine
the basic block.  Assert the use reference is not artificial and that
it has an associated insn.

gcc/testsuite/
PR rtl-optimization/84878
* gcc.target/powerpc/pr84878.c: New test.

From-SVN: r259085
gcc/ChangeLog
gcc/ddg.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr84878.c [new file with mode: 0644]