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: 4 Jul 2007 21:10:38 -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 #5 from aesok at gcc dot gnu dot org 2007-07-04 21:10 -------
Subject: Bug 31331
Author: aesok
Date: Wed Jul 4 21:10:28 2007
New Revision: 126337
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126337
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:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31331