]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR target/31331 ([avr] ICE on function attribute syntax for main())
authorAnatoly Sokolov <aesok@post.ru>
Sat, 7 Jul 2007 19:39:36 +0000 (23:39 +0400)
committerAnatoly Sokolov <aesok@gcc.gnu.org>
Sat, 7 Jul 2007 19:39:36 +0000 (23:39 +0400)
commit19eec6da1d2e03742592eacb9af46b8d26246794
tree96c4208bf0d4ed18d5d832f33ff2bcd246abbe9d
parent05c1d0b1c484a64b596968fec036b1f3bd61134f
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: r126447
gcc/ChangeLog
gcc/config/avr/avr.c