re PR rtl-optimization/78527 (ice on valid C code at -O3 in both 32-bit and 64-bit...
authorJakub Jelinek <jakub@redhat.com>
Fri, 25 Nov 2016 17:12:29 +0000 (18:12 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 25 Nov 2016 17:12:29 +0000 (18:12 +0100)
commit27d0862e62b5af5cce218a32cfcf3db27c85d1f2
tree41c0096307a8386d29ee56f9b91319ef9abee866
parentbe40f3cd82bf8a14dbfea17e554774ef2171fdc8
re PR rtl-optimization/78527 (ice on valid C code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: in smallest_mode_for_size, at stor-layout.c:364))

PR rtl-optimization/78527
* combine.c (make_compound_operation_int): Ignore LSHIFTRT with
out of bounds shift count.

* gcc.c-torture/compile/pr78527.c: New test.

From-SVN: r242879
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr78527.c [new file with mode: 0644]