diff options
author | Ju-Zhe Zhong <juzhe.zhong@rivai.ai> | 2023-01-18 11:09:21 +0800 |
---|---|---|
committer | Kito Cheng <kito.cheng@sifive.com> | 2023-01-27 18:08:58 +0800 |
commit | 9b9a1ac14cdca6eef8dbcab0d33f3c03774a6c77 (patch) | |
tree | b95cb0973f84f3b20b9dbd124662a9c9f4bf5a10 /gcc/fortran/trans-openmp.cc | |
parent | e577b91bbaa7075655de4da4b8af95216d8b1f6d (diff) | |
download | gcc-9b9a1ac14cdca6eef8dbcab0d33f3c03774a6c77.zip gcc-9b9a1ac14cdca6eef8dbcab0d33f3c03774a6c77.tar.gz gcc-9b9a1ac14cdca6eef8dbcab0d33f3c03774a6c77.tar.bz2 |
RISC-V: Fix bug of before_p function
compare_with will return other than -1, so it should check less than 0
rather than check exactly with -1.
gcc/ChangeLog:
* config/riscv/riscv-vsetvl.cc (before_p): Fix bug.
Diffstat (limited to 'gcc/fortran/trans-openmp.cc')
0 files changed, 0 insertions, 0 deletions