From c07d7c02d7aeac5de56066286c54a137518a98d6 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Wed, 23 Apr 2014 10:54:53 +0000 Subject: [PATCH] c-common.c (handle_tm_wrap_attribute): Tweak error message. * c-common.c (handle_tm_wrap_attribute): Tweak error message. From-SVN: r209693 --- gcc/c-family/ChangeLog | 4 ++++ gcc/c-family/c-common.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 11b4bc437ea..d9e39ed80fe 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 0b5ded8f6f9..a08c873c536 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); } } -- 2.30.2