diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/h8300/predicates.md | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a50a6ac..6a33b1f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-04-12 Kaushik Phatak<kaushik.phatak@kpitcummins.com> + + * config/h8300/predicate.md (bit_operand): Allow immediate values that + satisfy 'U' constraint. + 2010-04-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * configure.ac: Check for elf_getshdrstrndx or elf_getshstrndx diff --git a/gcc/config/h8300/predicates.md b/gcc/config/h8300/predicates.md index 2f5a60a..ea6c071a 100644 --- a/gcc/config/h8300/predicates.md +++ b/gcc/config/h8300/predicates.md @@ -326,7 +326,7 @@ { /* We can accept any nonimmediate operand, except that MEM operands must be limited to those that use addresses valid for the 'U' constraint. */ - if (!nonimmediate_operand (op, mode)) + if (!nonimmediate_operand (op, mode) && !OK_FOR_U (op)) return 0; /* H8SX accepts pretty much anything here. */ |
