r114773 - in /trunk/gcc: ChangeLog expmed.c tes...

sayle@gcc.gnu.org sayle@gcc.gnu.org
Mon Jun 19 14:57:00 GMT 2006


Author: sayle
Date: Mon Jun 19 14:57:17 2006
New Revision: 114773

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114773
Log:

	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.


Added:
    trunk/gcc/testsuite/gcc.dg/pr27861-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expmed.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list