General Motors Co. on Tuesday posted a net loss of nearly $3 billion in the third quarter compared a net profit of $2.8 billion a year ago, with the bottom line pulled down by hefty costs from the sale of its European business and steep cutbacks in U.S. vehicle production.