re PR tree-optimization/83337 (ICE at -O3 x86_64-linux-gnu: in interpret_rhs_expr...
authorJakub Jelinek <jakub@redhat.com>
Sun, 10 Dec 2017 10:39:56 +0000 (11:39 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 10 Dec 2017 10:39:56 +0000 (11:39 +0100)
commitdf0f6bbb3aa701b7d42aeefdf014eb73e9332d92
treea12e468521e660fd6d2f0d9721b596e5336072f9
parent629cc78bee7fdae342bc099ec3bde6cbce5172a8
re PR tree-optimization/83337 (ICE at -O3 x86_64-linux-gnu: in interpret_rhs_expr, at tree-scalar-evolution.c:1775)

PR tree-optimization/83337
* gimple-loop-interchange.cc (compute_access_stride): Handle bitfield DRs
properly.

* gcc.dg/tree-ssa/loop-interchange-14.c: New test.
* gcc.dg/tree-ssa/loop-interchange-15.c: New test.

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