Backport r188303 from google-main
commit18ba87868877ed1438c32852eae31a8fff9199d0
authordehao <dehao@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Apr 2013 23:43:14 +0000 (25 23:43 +0000)
committerdehao <dehao@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Apr 2013 23:43:14 +0000 (25 23:43 +0000)
tree3fbb71e816e9f4bca86bc6cca513dd759c442efc
parente2f99e58f5d96101c91158568e825ab37c795566
Backport r188303 from google-main

* gcc/cgraph.c (cgraph_node): Add attribute to function decl.
* gcc/opts-global.c (add_attribute_pattern): New function.
(pattern_match_function_attributes): New function.
(handle_common_deferred_options): Handle new options.
* gcc/opts.c (common_handle_option): Handle new options.
* gcc/opts.h (handle_common_deferred_options): New function.
* gcc/common.opt (ffunction_attribute_list): New option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/google@198325 138bc75d-0d04-0410-961f-82ee72b054a4
gcc-4_8/gcc/cgraph.c
gcc-4_8/gcc/common.opt
gcc-4_8/gcc/doc/invoke.texi
gcc-4_8/gcc/opts-global.c
gcc-4_8/gcc/opts.c
gcc-4_8/gcc/opts.h