* server.c (server_setup): Check return value of
	getcwd and in case of error set buff[0] to 0.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218732 138bc75d-0d04-0410-961f-82ee72b054a4
2014-12-15  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/64284
	* tree-ssa-threadupdate.c (duplicate_seme_region): Mark
	the loop for removal if we copied the loop header.

	* gcc.dg/torture/pr64284.c: New testcase.


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