re PR c/37924 (ice in smallest_mode_for_size, at stor-layout.c:219)
authorJakub Jelinek <jakub@redhat.com>
Tue, 28 Oct 2008 19:02:36 +0000 (20:02 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 28 Oct 2008 19:02:36 +0000 (20:02 +0100)
commit261639a226c41a2f44a980886656de283ad0d43b
treed86565b08e810ddca06674286580022e183196bc
parente18f73cdd3f53d7ecd4ce42b003f0f0329afb79a
re PR c/37924 (ice in smallest_mode_for_size, at stor-layout.c:219)

PR c/37924
* combine.c (make_compound_operation): Don't call make_extraction with
non-positive length.
(simplify_shift_const_1): Canonicalize count even if complement_p.

* gcc.c-torture/execute/pr37924.c: New test.

From-SVN: r141413
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr37924.c [new file with mode: 0644]