re PR target/49487 ([avr] ICE in bytewise rotate)
authorGeorg-Johann Lay <avr@gjlay.de>
Thu, 14 Jul 2011 15:10:12 +0000 (15:10 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Thu, 14 Jul 2011 15:10:12 +0000 (15:10 +0000)
commitd772f97cb639014ca02c6109e902cf1d1280af10
treed17b83ce9559a5f11cb454402c4e8a5642745ac8
parent1a5d20a4e01472c30e360f94b33373f1ab8e2354
re PR target/49487 ([avr] ICE in bytewise rotate)

PR target/49487
* config/avr/avr.md (rotl<mode>3): Generate SCRATCH instead
of REG.
(*rotw<mode>): Use const_int_operand for operand2.
Use match_scatch for operand3.
(*rotb<mode>): Ditto
* config/avr/avr.c (avr_rotate_bytes): Treat SCRATCH.

From-SVN: r176276
gcc/ChangeLog
gcc/config/avr/avr.c
gcc/config/avr/avr.md