GM Tuesday announced a deficit of $ 38.7 billion in 2007 .