[committed,(pre-approved)] RISC-V: Fix 'E' extension version to test
Checks
Commit Message
From: Tsukasa OI <research_trasio@irq.a4lg.com>
Commit 006e90e1 ("RISC-V: Initial RV64E and LP64E support") caused a
regression (test failure) but this is caused by failing to track GCC
changes in that test case (not a true GCC bug).
This commit fixes the test case to track the latest GCC with 'E'
extension version 2.0 (ratified).
gcc/testsuite/ChangeLog:
* gcc.target/riscv/predef-13.c: Fix 'E' extension version to test.
---
gcc/testsuite/gcc.target/riscv/predef-13.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
base-commit: 8614cbb253484e28c3eb20cde4d1067aad56de58
@@ -19,7 +19,7 @@ int main () {
#error "__riscv_c"
#endif
-#if !defined(__riscv_e) || (__riscv_e != (1 * 1000 * 1000 + 9 * 1000))
+#if !defined(__riscv_e) || (__riscv_e != (2 * 1000 * 1000 + 0 * 1000))
#error "__riscv_e"
#endif