]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* c-common.c (handle_tm_wrap_attribute): Tweak error message.
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Apr 2014 10:54:53 +0000 (10:54 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Apr 2014 10:54:53 +0000 (10:54 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209693 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/c-family/ChangeLog
gcc/c-family/c-common.c

index 11b4bc437eaec93fdfe3c3768982c4b5fbb521f6..d9e39ed80fe1ba0c1304f2ca293a9c871d53d0f9 100644 (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
index 0b5ded8f6f990cdc2457e9c72f54c1884b71bb41..a08c873c536d9035ae27aded43492b33224b130c 100644 (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);
        }
     }