diff options
author | YamaArashi <shadow962@live.com> | 2016-04-30 04:57:33 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-04-30 04:57:33 -0700 |
commit | d1cb3194bb20a44eecafe4186cf4e368f2a4d5b8 (patch) | |
tree | d0f27aa47b8f124d7e92b2e2747cc8c05da676b0 /gcc/thumb.c | |
parent | 0dfd357a5116b3d76fbaa9bcdd16902c28f60d2b (diff) |
build libgcc with older version of compiler and add install script
Diffstat (limited to 'gcc/thumb.c')
-rwxr-xr-x | gcc/thumb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/thumb.c b/gcc/thumb.c index 0310a51..a513436 100755 --- a/gcc/thumb.c +++ b/gcc/thumb.c @@ -1512,6 +1512,7 @@ arm_valid_machine_decl_attribute(tree decl, tree attributes, tree attr, tree arg int s_register_operand(rtx op, enum machine_mode mode) { +#ifndef OLD_COMPILER if (GET_MODE(op) != mode && mode != VOIDmode) return 0; @@ -1524,4 +1525,7 @@ s_register_operand(rtx op, enum machine_mode mode) return (GET_CODE(op) == REG && (REGNO(op) >= FIRST_PSEUDO_REGISTER || REGNO_REG_CLASS(REGNO(op)) != NO_REGS)); +#else + return register_operand(op, mode); +#endif } |