Inventory rises as GM stockpiles