RISC-V: Deduplicate #error messages in testsuite

2023-08-17 Thread juzhe.zh...@rivai.ai
FAIL: gcc.target/riscv/zvkn-1.c -O0 (test for excess errors) FAIL: gcc.target/riscv/zvkn-1.c -O1 (test for excess errors) FAIL: gcc.target/riscv/zvkn-1.c -O2 (test for excess errors) FAIL: gcc.target/riscv/zvkn-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none (test for excess

Re: [PATCH] RISC-V: Deduplicate #error messages in testsuite

2023-08-17 Thread Jeff Law via Gcc-patches
On 8/13/23 20:53, Tsukasa OI via Gcc-patches wrote: From: Tsukasa OI "#error Feature macro not defined" is required to test the existence of an extension through the preprocessor. However, multiple occurrence of the exact same error message will confuse the developer once an error is encount

[PATCH] RISC-V: Deduplicate #error messages in testsuite

2023-08-13 Thread Tsukasa OI via Gcc-patches
From: Tsukasa OI "#error Feature macro not defined" is required to test the existence of an extension through the preprocessor. However, multiple occurrence of the exact same error message will confuse the developer once an error is encountered. This commit replaces such error messages to "#err