ipa-reference.c (check_operand): Allow FUNCTION_DECL.
authorDaniel Berlin <dberlin@dberlin.org>
Thu, 19 Jan 2006 00:28:07 +0000 (00:28 +0000)
committerDaniel Berlin <dberlin@gcc.gnu.org>
Thu, 19 Jan 2006 00:28:07 +0000 (00:28 +0000)
commit7dbca013b298ba0506921f40622ae17fe9442b99
tree316d8ff0fe2b1de172204faffd748aa6915642e6
parentdb08384acf11b58c48b27fc236905fc609a46180
ipa-reference.c (check_operand): Allow FUNCTION_DECL.

2006-01-18  Daniel Berlin  <dberlin@dberlin.org>

* ipa-reference.c (check_operand):  Allow FUNCTION_DECL.
(look_for_address_of): Ditto.
(ipa_init): Walk the function decls.
(static_execute): Don't set readonly on FUNCTION_DECL's.

From-SVN: r109932
gcc/ChangeLog
gcc/ipa-reference.c