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
Showing
gcc/testsuite/gcc.dg/pr27861-1.c
0 → 100644
Please
register
or
sign in
to comment