diff options
author | Joern Rennecke <joern.rennecke@embecosm.com> | 2013-08-26 15:32:55 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2013-08-26 16:32:55 +0100 |
commit | befe864770708c7799ea2dee9c1db77309089932 (patch) | |
tree | 0a98575d8dd7e5e2800a480a0c222c3d4272a094 /gcc/reload.c | |
parent | a21e735ed5c9c2e214cf99913553520da2779266 (diff) | |
download | gcc-befe864770708c7799ea2dee9c1db77309089932.zip gcc-befe864770708c7799ea2dee9c1db77309089932.tar.gz gcc-befe864770708c7799ea2dee9c1db77309089932.tar.bz2 |
reload.c (find_valid_class): Allow classes that do not include FIRST_PSEUDO_REGISTER - 1.
* reload.c (find_valid_class): Allow classes that do not include
FIRST_PSEUDO_REGISTER - 1.
From-SVN: r202000
Diffstat (limited to 'gcc/reload.c')
-rw-r--r-- | gcc/reload.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/reload.c b/gcc/reload.c index b15f3b2..b69660d 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -680,8 +680,8 @@ find_valid_class (enum machine_mode outer ATTRIBUTE_UNUSED, if (HARD_REGNO_MODE_OK (regno, inner)) { good = 1; - if (! TEST_HARD_REG_BIT (reg_class_contents[rclass], regno + n) - || ! HARD_REGNO_MODE_OK (regno + n, outer)) + if (TEST_HARD_REG_BIT (reg_class_contents[rclass], regno + n) + && ! HARD_REGNO_MODE_OK (regno + n, outer)) bad = 1; } } |