tree-sra.c (ipa_sra_preliminary_function_checks): Use DECL_ONE_ONLY to check if decl...
authorJan Hubicka <hubicka@ucw.cz>
Mon, 16 Mar 2015 19:39:14 +0000 (20:39 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 16 Mar 2015 19:39:14 +0000 (19:39 +0000)
commit7a161d5be3314a90bcb5870986edc8b230446c46
tree9a850b8072dd5819878a551ca92ae4b3d348c994
parentf8c29d983969a1dd7a8563ba0f2432733e88e76f
tree-sra.c (ipa_sra_preliminary_function_checks): Use DECL_ONE_ONLY to check if decl is one only.

* tree-sra.c (ipa_sra_preliminary_function_checks): Use
DECL_ONE_ONLY to check if decl is one only.
* ipa-split.c (consider_split): Limit splitt of one only functions.

From-SVN: r221466
gcc/ChangeLog
gcc/ipa-split.c
gcc/tree-sra.c