GM has said that it will shut its assembly plant in Portugal by October 31 if talks with workers and the government do not lead to lower production costs, according to Reuters.