c-common.c (handle_tm_wrap_attribute): Tweak error message.

* c-common.c (handle_tm_wrap_attribute): Tweak error message.

From-SVN: r209693
This commit is contained in:
Marek Polacek 2014-04-23 10:54:53 +00:00 committed by Marek Polacek
parent f796136458
commit c07d7c02d7
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-04-23 Marek Polacek <polacek@redhat.com>
* c-common.c (handle_tm_wrap_attribute): Tweak error message.
2014-04-22 Jakub Jelinek <jakub@redhat.com>
PR sanitizer/60275

View File

@ -8421,7 +8421,7 @@ handle_tm_wrap_attribute (tree *node, tree name, tree args,
error ("%qD is not compatible with %qD", wrap_decl, decl);
}
else
error ("transaction_wrap argument is not a function");
error ("%qE argument is not a function", name);
}
}