Commit a9717079 by Richard Earnshaw Committed by Richard Earnshaw

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
parent d8e6aede
2009-08-06 Richard Earnshaw <rearnsha@arm.com> 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. * arm.c (arm_handle_pcs_attribute): Use %qE in warning.
2009-08-06 Richard Earnshaw <rearnsha@arm.com> 2009-08-06 Richard Earnshaw <rearnsha@arm.com>
......
...@@ -4439,8 +4439,7 @@ arm_handle_pcs_attribute (tree *node ATTRIBUTE_UNUSED, tree name, tree args, ...@@ -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) if (arm_pcs_from_attribute (args) == ARM_PCS_UNKNOWN)
{ {
warning (OPT_Wattributes, "%qE attribute ignored", warning (OPT_Wattributes, "%qE attribute ignored", name);
IDENTIFIER_POINTER (name));
*no_add_attrs = true; *no_add_attrs = true;
} }
return NULL_TREE; return NULL_TREE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment