GM stock rises after automaker boosts full-year guidance, reports Q2 earnings