Commit f9ca0dee by Anatoly Sokolov Committed by Anatoly Sokolov

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
parent 276ca25d
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
......
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