tree-inline.c (expand_call_inline): Avoid duplicate declarations of static vars.
authorJan Hubicka <jh@suse.cz>
Sat, 28 Feb 2009 22:14:43 +0000 (23:14 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 28 Feb 2009 22:14:43 +0000 (22:14 +0000)
commiteb50f5f41a6cb89213b013a759dfea6204a94068
tree568b3dc4f877070b6024d890558308742dfa5c68
parent261401301f185163dbca9103c8d62fe8f3cd84d6
tree-inline.c (expand_call_inline): Avoid duplicate declarations of static vars.

* tree-inline.c (expand_call_inline): Avoid duplicate declarations of
static vars.
(copy_arguments_for_versioning): If var is declared don't declare it.
(tree_function_versioning): First setup substitutions and then copy
args.

From-SVN: r144497
gcc/ChangeLog
gcc/tree-inline.c