re PR target/35492 (ICE building kernel sk_stream_wait_connect output_operand: invali...
authorHans-Peter Nilsson <hp@axis.com>
Mon, 14 Jul 2008 00:22:35 +0000 (00:22 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Mon, 14 Jul 2008 00:22:35 +0000 (00:22 +0000)
commitf49e46d831f6f30c42e1580c33fa50abe1f5c7fa
tree7a7a4c0e40dbb5c2fb28d2615161c71fb24a52ce
parent2961c7a9c7d35f63f080ff223746c84e2f927a7e
re PR target/35492 (ICE building kernel sk_stream_wait_connect output_operand: invalid operand for 'p' modifier)

PR target/35492.
* config/cris/cris.h (CRIS_CONST_OK_FOR_LETTER_P): Renamed from
CONST_OK_FOR_LETTER_P.  All port-local users changed.
(CONST_OK_FOR_CONSTRAINT_P): Define; implement Kc as old K,
implement Kp matching power-of-two.
(CONSTRAINT_LEN): Define to match.
* config/cris/cris.md: Replace all use of constraint K with Kc.
("*btst*): Use Kp for operand 0 of last alternative.

From-SVN: r137765
gcc/ChangeLog
gcc/config/cris/cris.c
gcc/config/cris/cris.h
gcc/config/cris/cris.md