[Bug target/31331] [avr] ICE on function attribute syntax for main()
aesok at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jul 7 19:39:00 GMT 2007
------- Comment #8 from aesok at gcc dot gnu dot org 2007-07-07 19:39 -------
Subject: Bug 31331
Author: aesok
Date: Sat Jul 7 19:39:36 2007
New Revision: 126447
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126447
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_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/config/avr/avr.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31331
More information about the Gcc-bugs
mailing list