Revised estimates from the Commerce Department show the U.S. economy, upended by the coronavirus pandemic, shrank at a record-setting annual rate of 31.7% in the second quarter of 2020.