* gcc.dg/tree-ssa/attr-alias.c: New testcase.

	* ipa-inline.c (update_caller_keys): Fix availability test.
	(update_callee_keys): Likewise.
	* symtab.c (symtab_alias_ultimate_target): Make availaiblity logic
	to follow ELF standard.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199670 138bc75d-0d04-0410-961f-82ee72b054a4