diff options
author | Andrew Pinski <apinski@marvell.com> | 2021-09-18 08:20:16 +0000 |
---|---|---|
committer | Andrew Pinski <apinski@marvell.com> | 2021-09-19 03:49:13 +0000 |
commit | 767c098247a405041a48d6c1663100bfc29e414c (patch) | |
tree | 2cd43fb885858c0ca8076417053c8934b882fb52 /ltoptions.m4 | |
parent | cf74e7b57bc2e94fdd752d824fa221d1d529fad8 (diff) | |
download | gcc-767c098247a405041a48d6c1663100bfc29e414c.zip gcc-767c098247a405041a48d6c1663100bfc29e414c.tar.gz gcc-767c098247a405041a48d6c1663100bfc29e414c.tar.bz2 |
Fix middle-end/102395: reg_class having only NO_REGS and ALL_REGS.
So this is a simple fix is to just add to the assert that
sclass and dclass are both greater than or equal to NO_REGS.
NO_REGS is documented as the first register class so it should
have the value of 0.
gcc/ChangeLog:
* lra-constraints.c (check_and_process_move): Assert
that dclass and sclass are greater than or equal to NO_REGS.
Diffstat (limited to 'ltoptions.m4')
0 files changed, 0 insertions, 0 deletions