This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/31331] [avr] ICE on function attribute syntax for main()
- From: "aesok at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jul 2007 19:30:48 -0000
- Subject: [Bug target/31331] [avr] ICE on function attribute syntax for main()
- References: <bug-31331-6095@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from aesok at gcc dot gnu dot org 2007-07-07 19:30 -------
Subject: Bug 31331
Author: aesok
Date: Sat Jul 7 19:30:37 2007
New Revision: 126446
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126446
Log:
PR target/31331
* config/avr/avr.c (avr_naked_function_p): Handle receiving a type
rather than a decl.
(avr_attribute_table): Make "naked" attribute apply to function types
rather than to decls.
(avr_handle_fntype_attribute): New function.
Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/config/avr/avr.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31331