[Bug target/34299] [avr] ICE on function attribute syntax for main()
aesok at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Mar 15 13:10:00 GMT 2009
------- Comment #14 from aesok at gcc dot gnu dot org 2009-03-15 13:09 -------
Subject: Bug 34299
Author: aesok
Date: Sun Mar 15 13:09:44 2009
New Revision: 144870
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144870
Log:
PR target/34299
* config/avr/avr.c (avr_handle_fndecl_attribute): Move code for
generate a warning if the function name does not begin with
"__vector" and the function has either the 'signal' or 'interrupt'
attribute, from here to ...
(avr_declare_function_name): ...here. New function.
* config/avr/avr.h (ASM_DECLARE_FUNCTION_NAME): Redefine.
* config/avr/avr-protos.h (avr_declare_function_name): Declare.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr-protos.h
trunk/gcc/config/avr/avr.c
trunk/gcc/config/avr/avr.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34299
More information about the Gcc-bugs
mailing list