]> gcc.gnu.org Git - gcc.git/commit
re PR target/27861 (ICE in expand_expr_real_1, at expr.c:6916)
authorRoger Sayle <roger@eyesopen.com>
Mon, 19 Jun 2006 14:57:17 +0000 (14:57 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Mon, 19 Jun 2006 14:57:17 +0000 (14:57 +0000)
commitfa00f91b0d55bf51b88bda778f519b8fc9a55b12
treec8e8a3185728aab4a7f079fa123272dd2738ec55
parent096dce1b1bf69529a83de92dc17018c82b7b22ec
re PR target/27861 (ICE in expand_expr_real_1, at expr.c:6916)

PR target/27861
* expmed.c (expand_shift): On SHIFT_COUNT_TRUNCATED targets, we may
have stripped a SUBREG from the shift count, so we may need to
convert_to_mode back to the type's mode before calling make_tree.
Use new_amount instead of amount to avoid expanding a tree twice.

* gcc.dg/pr27861-1.c: New test case.

From-SVN: r114773
gcc/ChangeLog
gcc/expmed.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr27861-1.c [new file with mode: 0644]
This page took 0.061324 seconds and 5 git commands to generate.