diff options
author | Fei Gao <gaofei@eswincomputing.com> | 2023-09-15 01:20:08 +0000 |
---|---|---|
committer | Patrick O'Neill <patrick@rivosinc.com> | 2023-09-15 13:43:10 -0700 |
commit | d7b6020276a843e97f6135259b4ab3b53a5850e2 (patch) | |
tree | 3902fefcf94b0f42e4a86c60752555294c3800b8 /libstdc++-v3/doc | |
parent | fd5a858eb5ef93c4ac7b0399b67d46805d2dabec (diff) | |
download | gcc-d7b6020276a843e97f6135259b4ab3b53a5850e2.zip gcc-d7b6020276a843e97f6135259b4ab3b53a5850e2.tar.gz gcc-d7b6020276a843e97f6135259b4ab3b53a5850e2.tar.bz2 |
fix PR 111259 invalid zcmp mov predicate.
The code changes are from Palmer.
root cause:
In a gcc build with --enable-checking=yes, REGNO (op) checks
rtx code and expected code 'reg'. so a rtx with 'subreg' causes
an internal compiler error.
solution:
Restrict predicate to allow 'reg' only.
gcc/ChangeLog:
* config/riscv/predicates.md: Restrict predicate
to allow 'reg' only.
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'libstdc++-v3/doc')
0 files changed, 0 insertions, 0 deletions