diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 11b4bc437eae..d9e39ed80fe1 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,7 @@ +2014-04-23 Marek Polacek + + * c-common.c (handle_tm_wrap_attribute): Tweak error message. + 2014-04-22 Jakub Jelinek PR sanitizer/60275 diff --git a/gcc/c-family/c-common.c b/gcc/c-family/c-common.c index 0b5ded8f6f99..a08c873c536d 100644 --- a/gcc/c-family/c-common.c +++ b/gcc/c-family/c-common.c @@ -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); } }