https://gcc.gnu.org/g:8ee479c278104ab6f1755e82c323fbb81c82ce79

commit r16-7951-g8ee479c278104ab6f1755e82c323fbb81c82ce79
Author: Andrew Pinski <[email protected]>
Date:   Sun Mar 8 14:15:45 2026 -0700

    riscv: Fix formating of diagnostic [PR124403]
    
    Just some small formating of the digatnotic is required here.
    A missing space after the semicolon. And move must out of the quotes.
    
    Pushed as obvious after a quick build and test for riscv64-linux-gnu.
    
            PR target/124403
    
    gcc/ChangeLog:
    
            * config/riscv/riscv.cc (riscv_get_vls_cc_attr): Fix formating
            of the diagnostic.
    
    Signed-off-by: Andrew Pinski <[email protected]>

Diff:
---
 gcc/config/riscv/riscv.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/config/riscv/riscv.cc b/gcc/config/riscv/riscv.cc
index ff46ffdb4566..27fbe6029f53 100644
--- a/gcc/config/riscv/riscv.cc
+++ b/gcc/config/riscv/riscv.cc
@@ -7461,8 +7461,8 @@ riscv_get_vls_cc_attr (const_tree args, bool check_only = 
false)
   if (!riscv_valid_abi_vlen_vls_cc_p (abi_vlen) && !check_only)
     {
       error_at (input_location,
-               "unsupported %<ABI_VLEN%> value %d for %qs attribute;"
-               "%<ABI_VLEN must%> be in the range [32, 16384] and must be "
+               "unsupported %<ABI_VLEN%> value %d for %qs attribute; "
+               "%<ABI_VLEN%> must be in the range [32, 16384] and must be "
                "a power of 2",
                abi_vlen, "riscv_vls_cc");
       return RISCV_CC_UNKNOWN;

Reply via email to