From df82965344f641c17a2df4bd7c195df9e980312b Mon Sep 17 00:00:00 2001 From: Artemiy Granat Date: Thu, 24 Jul 2025 18:38:27 +0300 Subject: [PATCH] i386: Fix typo in diagnostic about simultaneous regparm and thiscall use gcc/ChangeLog: * config/i386/i386-options.cc (ix86_handle_cconv_attribute): Fix typo. --- 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 4ad209e5763..09a35ef6298 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); -- 2.47.3