mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-08 14:41:14 +08:00
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:
parent
d8e6aede2e
commit
a9717079fc
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user