aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2014-04-23 10:54:53 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2014-04-23 10:54:53 +0000
commitc07d7c02d7aeac5de56066286c54a137518a98d6 (patch)
treebdd905957c205ca349c7b964d2042d05c693b9fe /gcc
parentf7961364588913e29ce1521997ba415a49e0a087 (diff)
downloadgcc-c07d7c02d7aeac5de56066286c54a137518a98d6.zip
gcc-c07d7c02d7aeac5de56066286c54a137518a98d6.tar.gz
gcc-c07d7c02d7aeac5de56066286c54a137518a98d6.tar.bz2
c-common.c (handle_tm_wrap_attribute): Tweak error message.
* c-common.c (handle_tm_wrap_attribute): Tweak error message. From-SVN: r209693
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-family/ChangeLog4
-rw-r--r--gcc/c-family/c-common.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 11b4bc4..d9e39ed 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -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
diff --git a/gcc/c-family/c-common.c b/gcc/c-family/c-common.c
index 0b5ded8..a08c873 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);
}
}