From: Tsukasa OI Date: Thu, 30 Nov 2023 02:37:54 +0000 (+0000) Subject: RISC-V: Fix 'E' extension version to test X-Git-Tag: basepoints/gcc-15~4154 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc7b70fa3497664a58b3c0b36fa94f9ec87d4f22;p=thirdparty%2Fgcc.git RISC-V: Fix 'E' extension version to test 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. --- diff --git a/gcc/testsuite/gcc.target/riscv/predef-13.c b/gcc/testsuite/gcc.target/riscv/predef-13.c index 3836255c8553..93ebb337dbd5 100644 --- a/gcc/testsuite/gcc.target/riscv/predef-13.c +++ b/gcc/testsuite/gcc.target/riscv/predef-13.c @@ -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