------- Comment #1 from hutchinsonandy at aim dot com 2008-06-06 03:08 ------- rev 132971 appears to have created this problem.
Revision: 132971 Author: bonzini Date: 8:30:10 AM, Thursday, March 06, 2008 Message: 2008-03-06 Paolo Bonzini <[EMAIL PROTECTED]> * simplify-rtx.c (simplify_subreg): Remove useless shifts from word-extractions out of a multi-word object. ---- Modified : /trunk/gcc/ChangeLog Modified : /trunk/gcc/simplify-rtx.c It fails because subreg simplification tries to extract byte 3 of the HImode int 'a' at simplify-rtx 5271. No check is performed here to see if shift count >= length. For this case simplification should give sign of value (-1 or 0). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36447