From d8e6aede2ef2e7f588ef8b9bd4d40e1aae12acc6 Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Thu, 6 Aug 2009 15:14:56 +0000 Subject: [PATCH] * arm.c (arm_handle_pcs_attribute): Use %qE in warning. From-SVN: r150527 --- gcc/ChangeLog | 4 ++++ gcc/config/arm/arm.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5fb34a8..e71ba64 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2009-08-06 Richard Earnshaw + * arm.c (arm_handle_pcs_attribute): Use %qE in warning. + +2009-08-06 Richard Earnshaw + Merge ARM/hard_vfp_branch to trunk. 2009-08-04 Richard Earnshaw diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 1af75f1..cc11c79 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -4439,7 +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, "%qs attribute ignored", + warning (OPT_Wattributes, "%qE attribute ignored", IDENTIFIER_POINTER (name)); *no_add_attrs = true; } -- 2.7.4