re PR tree-optimization/83695 (ICE on valid code at -O3: Segmentation fault)
authorBin Cheng <bin.cheng@arm.com>
Thu, 11 Jan 2018 15:41:41 +0000 (15:41 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Thu, 11 Jan 2018 15:41:41 +0000 (15:41 +0000)
commit4e090bcc53ab54831a180f4ee57f5e5de82a0d56
treec13ad0c6e57e8bfdfcb60f6ad674c63a67904aea
parenteccf4d702029b48512d573382ef5534a5df23893
re PR tree-optimization/83695 (ICE on valid code at -O3: Segmentation fault)

PR tree-optimization/83695
* gimple-loop-linterchange.cc
(tree_loop_interchange::interchange_loops): Call scev_reset_htab to
reset cached scev information after interchange.
(pass_linterchange::execute): Remove call to scev_reset_htab.

gcc/testsuite
PR tree-optimization/83695
* gcc.dg/tree-ssa/pr83695.c: New test.

From-SVN: r256541
gcc/ChangeLog
gcc/gimple-loop-interchange.cc
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr83695.c [new file with mode: 0644]