]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386: Fix typo in diagnostic about simultaneous regparm and thiscall use
authorArtemiy Granat <a.granat@ispras.ru>
Thu, 24 Jul 2025 15:38:27 +0000 (18:38 +0300)
committerAlexander Monakov <amonakov@ispras.ru>
Thu, 31 Jul 2025 12:47:36 +0000 (15:47 +0300)
gcc/ChangeLog:

* config/i386/i386-options.cc (ix86_handle_cconv_attribute):
Fix typo.

gcc/config/i386/i386-options.cc

index 4ad209e5763b95fd7b1d69c1d7d3db7f4081084b..09a35ef629802174c87fe6460b61aa3a914ce6b2 100644 (file)
@@ -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);