aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>2017-12-20 09:29:13 +0000
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>2017-12-20 09:29:13 +0000
commit378056b26a6a0a1eb442c100a9c744648a210ba7 (patch)
tree62a7ee6c56ba8321e523197a4d6d741f771f58aa /gcc/config
parent5b8b4a883d74dc74ecf64643e7d3a060db489318 (diff)
downloadgcc-378056b26a6a0a1eb442c100a9c744648a210ba7.zip
gcc-378056b26a6a0a1eb442c100a9c744648a210ba7.tar.gz
gcc-378056b26a6a0a1eb442c100a9c744648a210ba7.tar.bz2
[arm] PR target/82975: Guard against reg_renumber being NULL in arm.h
Commit missing hunk to arm.h TEST_REGNO comment. PR target/82975 * config/arm/arm.h (TEST_REGNO): Adjust comment as expected in r255830. From-SVN: r255853
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/arm/arm.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h
index a482f03..c46fd60 100644
--- a/gcc/config/arm/arm.h
+++ b/gcc/config/arm/arm.h
@@ -1615,10 +1615,7 @@ enum arm_auto_incmodes
/* These assume that REGNO is a hard or pseudo reg number.
They give nonzero only if REGNO is a hard reg of the suitable class
- or a pseudo reg currently allocated to a suitable hard reg.
- Since they use reg_renumber, they are safe only once reg_renumber
- has been allocated, which happens in reginfo.c during register
- allocation. */
+ or a pseudo reg currently allocated to a suitable hard reg. */
#define TEST_REGNO(R, TEST, VALUE) \
((R TEST VALUE) \
|| (reg_renumber && ((unsigned) reg_renumber[R] TEST VALUE)))