mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-09 15:51:08 +08:00
re PR target/25448 (Unfounded warnings from the AVR backend)
PR target/25448 * config/avr/avr.c (avr_handle_fndecl_attribute): Use the DECL_ASSEMBLER_NAME, not the DECL_NAME. From-SVN: r123519
This commit is contained in:
parent
276ca25d7b
commit
f9ca0dee6d
@ -1,3 +1,9 @@
|
||||
2007-04-05 Anatoly Sokolov <aesok@post.ru>
|
||||
|
||||
PR target/25448
|
||||
* config/avr/avr.c (avr_handle_fndecl_attribute): Use the
|
||||
DECL_ASSEMBLER_NAME, not the DECL_NAME.
|
||||
|
||||
2007-04-05 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Reformat.
|
||||
|
@ -4603,7 +4603,7 @@ avr_handle_fndecl_attribute (tree *node, tree name,
|
||||
}
|
||||
else
|
||||
{
|
||||
const char *func_name = IDENTIFIER_POINTER (DECL_NAME (*node));
|
||||
const char *func_name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (*node));
|
||||
const char *attr = IDENTIFIER_POINTER (name);
|
||||
|
||||
/* If the function has the 'signal' or 'interrupt' attribute, test to
|
||||
|
Loading…
x
Reference in New Issue
Block a user