summaryrefslogtreecommitdiff
path: root/gcc/config/h8300/h8300.c
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-10 10:29:35 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-10 10:29:35 +0000
commit67a779df37f703a7f88bd38ba367abb1a8c8ea50 (patch)
treea9f4b3d8587f427959635e485e41739d8c6d6c2e /gcc/config/h8300/h8300.c
parenta608187fcbe47b23b3a69b928505802f08950e23 (diff)
downloadgcc-67a779df37f703a7f88bd38ba367abb1a8c8ea50.tar.gz
* config/arc/arc.c (arc_handle_interrupt_attribute): Use %qE for
identifiers in diagnostics. * config/arm/arm.c (arm_handle_fndecl_attribute, arm_handle_isr_attribute): Likewise. * config/avr/avr.c (avr_handle_progmem_attribute, avr_handle_fndecl_attribute, avr_handle_fntype_attribute): Likewise. * config/bfin/bfin.c (handle_int_attribute, bfin_handle_longcall_attribute, bfin_handle_l1_text_attribute, bfin_handle_l1_data_attribute, bfin_handle_longcall_attribute, bfin_handle_l1_text_attribute, bfin_handle_l1_data_attribute): Likewise. * config/darwin.c (darwin_handle_kext_attribute, darwin_handle_weak_import_attribute): Likewise. * config/h8300/h8300.c (h8300_handle_fndecl_attribute, h8300_handle_eightbit_data_attribute, h8300_handle_tiny_data_attribute): Likewise. * config/i386/i386.c (ix86_handle_cconv_attribute, ix86_handle_abi_attribute, ix86_handle_struct_attribute): Likewise. * config/i386/winnt.c (ix86_handle_shared_attribute, ix86_handle_selectany_attribute): Likewise. * config/ia64/ia64.c (ia64_handle_model_attribute): Likewise. * config/m32c/m32c.c (function_vector_handler): Likewise. * config/m68hc11/m68hc11.c (m68hc11_handle_page0_attribute, m68hc11_handle_fntype_attribute): Likewise. * config/m68k/m68k.c (m68k_handle_fndecl_attribute): Likewise. * config/mcore/mcore.c (mcore_handle_naked_attribute): Likewise. * config/mips/mips.c (mips_insert_attributes, mips_merge_decl_attributes, mips_expand_builtin): Likewise. * config/rs6000/rs6000.c (rs6000_handle_longcall_attribute, rs6000_handle_struct_attribute): Likewise. * config/sh/sh.c (sh_insert_attributes, sh_handle_resbank_handler_attribute, sh_handle_interrupt_handler_attribute, sh2a_handle_function_vector_handler_attribute, sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute): Likewise. * config/sh/symbian.c (sh_symbian_mark_dllimport): Likewise. * config/spu/spu.c (spu_handle_fndecl_attribute, spu_handle_vector_attribute): Likewise. * config/stormy16/stormy16.c (xstormy16_handle_interrupt_attribute): Likewise. * config/v850/v850-c.c (ghs_pragma_section): Likewise. * config/v850/v850.c (v850_handle_interrupt_attribute): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147334 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/h8300/h8300.c')
-rw-r--r--gcc/config/h8300/h8300.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index f75a4961d73..34d1f82687c 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -1,6 +1,6 @@
/* Subroutines for insn-output.c for Renesas H8/300.
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
- 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
+ 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
Free Software Foundation, Inc.
Contributed by Steve Chamberlain (sac@cygnus.com),
Jim Wilson (wilson@cygnus.com), and Doug Evans (dje@cygnus.com).
@@ -5256,8 +5256,8 @@ h8300_handle_fndecl_attribute (tree *node, tree name,
{
if (TREE_CODE (*node) != FUNCTION_DECL)
{
- warning (OPT_Wattributes, "%qs attribute only applies to functions",
- IDENTIFIER_POINTER (name));
+ warning (OPT_Wattributes, "%qE attribute only applies to functions",
+ name);
*no_add_attrs = true;
}
@@ -5280,8 +5280,8 @@ h8300_handle_eightbit_data_attribute (tree *node, tree name,
}
else
{
- warning (OPT_Wattributes, "%qs attribute ignored",
- IDENTIFIER_POINTER (name));
+ warning (OPT_Wattributes, "%qE attribute ignored",
+ name);
*no_add_attrs = true;
}
@@ -5304,8 +5304,8 @@ h8300_handle_tiny_data_attribute (tree *node, tree name,
}
else
{
- warning (OPT_Wattributes, "%qs attribute ignored",
- IDENTIFIER_POINTER (name));
+ warning (OPT_Wattributes, "%qE attribute ignored",
+ name);
*no_add_attrs = true;
}