https://gcc.gnu.org/g:df82965344f641c17a2df4bd7c195df9e980312b

commit r16-2675-gdf82965344f641c17a2df4bd7c195df9e980312b
Author: Artemiy Granat <a.gra...@ispras.ru>
Date:   Thu Jul 24 18:38:27 2025 +0300

    i386: Fix typo in diagnostic about simultaneous regparm and thiscall use
    
    gcc/ChangeLog:
    
            * config/i386/i386-options.cc (ix86_handle_cconv_attribute):
            Fix typo.

Diff:
---
 gcc/config/i386/i386-options.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/i386/i386-options.cc b/gcc/config/i386/i386-options.cc
index 4ad209e5763b..09a35ef62980 100644
--- a/gcc/config/i386/i386-options.cc
+++ b/gcc/config/i386/i386-options.cc
@@ -3639,7 +3639,7 @@ ix86_handle_cconv_attribute (tree *node, tree name, tree 
args, int,
 
       if (lookup_attribute ("thiscall", TYPE_ATTRIBUTES (*node)))
        {
-         error ("regparam and thiscall attributes are not compatible");
+         error ("regparm and thiscall attributes are not compatible");
        }
 
       cst = TREE_VALUE (args);

Reply via email to