PR tree-optimization/59149
	* calls.c (flags_from_decl_or_type): Fail on non decl or type.
	* trans-mem.c (diagnose_tm_1): Do not call flags_from_decl_or_type
	if no type or decl.

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