re PR target/31331 ([avr] ICE on function attribute syntax for main())
authorAnatoly Sokolov <aesok@post.ru>
Wed, 4 Jul 2007 21:10:28 +0000 (01:10 +0400)
committerAnatoly Sokolov <aesok@gcc.gnu.org>
Wed, 4 Jul 2007 21:10:28 +0000 (01:10 +0400)
commit44190aed5ed111b27b8d1be4fa5e4d406dafed86
tree84a7339b747c45548496ce72b136d9c3e58f8a03
parent73ed196896673dd1e48aa1d3a7f69c514de43adc
re PR target/31331 ([avr] ICE on function attribute syntax for main())

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.

From-SVN: r126337
gcc/ChangeLog
gcc/config/avr/avr.c