diff options
author | Marek Polacek <polacek@redhat.com> | 2014-04-23 10:54:53 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2014-04-23 10:54:53 +0000 |
commit | c07d7c02d7aeac5de56066286c54a137518a98d6 (patch) | |
tree | bdd905957c205ca349c7b964d2042d05c693b9fe /gcc | |
parent | f7961364588913e29ce1521997ba415a49e0a087 (diff) | |
download | gcc-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/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/c-family/c-common.c | 2 |
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); } } |