expmed.c
176 KB
-
re PR target/27861 (ICE in expand_expr_real_1, at expr.c:6916) · fa00f91b
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
Roger Sayle committed