arm.c (arm_handle_pcs_attribute): Pass the entire name object to warning ().

* arm.c (arm_handle_pcs_attribute): Pass the entire name object to
warning ().

From-SVN: r150528
This commit is contained in:
Richard Earnshaw 2009-08-06 16:19:14 +00:00 committed by Richard Earnshaw
parent d8e6aede2e
commit a9717079fc
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2009-08-06 Richard Earnshaw <rearnsha@arm.com>
* arm.c (arm_handle_pcs_attribute): Pass the entire name object to
warning ().
2009-08-06 Richard Earnshaw <rearnsha@arm.com>
* arm.c (arm_handle_pcs_attribute): Use %qE in warning.

View File

@ -4439,8 +4439,7 @@ arm_handle_pcs_attribute (tree *node ATTRIBUTE_UNUSED, tree name, tree args,
{
if (arm_pcs_from_attribute (args) == ARM_PCS_UNKNOWN)
{
warning (OPT_Wattributes, "%qE attribute ignored",
IDENTIFIER_POINTER (name));
warning (OPT_Wattributes, "%qE attribute ignored", name);
*no_add_attrs = true;
}
return NULL_TREE;