[Bug target/31331] [avr] ICE on function attribute syntax for main()
aesok at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jul 4 21:10:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list