WASHINGTON — The economy showed the depth of its twin problems on Tuesday, slow growth and rising inflation, as the nation wrestled with a teetering financial system, a slumping dollar and rising prices for food and fuel.

The Labor Department reported that soaring costs for gasoline and food pushed inflation at the wholesale level up by a bigger-than-expected 1.8 percent in June, leaving inflation rising over the past year at the fastest pace in more than a quarter-century.

Over the past 12 months, wholesale prices are up 9.2 percent, the largest year-over-year surge since June 1981, another period when soaring energy costs were giving the country inflation pains.

Core inflation, which excludes energy and food, was better behaved in June, rising by just 0.2 percent, slightly lower than expectations.

A separate report from the Commerce Department showed that all the economy's problems were weighing on the consumer. Retail sales edged up by a tiny 0.1 percent in June, weaker than had been expected, as consumer spending was held back by a sharp plunge in sales at auto dealerships.

U.S. stocks headed for a sharply lower open as the reports on inflation and retail sales failed to cool concerns about the financial sector. Banking stocks were pounded on Monday despite the government's efforts to calm concerns with a support package fashioned over the weekend for mortgage giants Fannie Mae and Freddie Mac.

Federal Reserve Chairman Ben Bernanke, who was scheduled to deliver his midyear report on the economy to Congress on Tuesday, was expected to highlight the threat posed by inflation pressures. The central bank at its June meeting brought an end to an aggressive rate-cutting campaign that had been designed to keep a prolonged housing slump and severe credit crunch from pushing the country into a deep recession.

The central bank is currently caught between the opposing forces of rising inflation and slumping economic growth.

For June, energy prices at the wholesale level shot up by 6 percent; the price of unleaded regular gasoline surged by 9 percent following an even bigger 9.6 percent increase in May.

The 0.1 percent rise in retail sales was even weaker than the 0.4 percent gain that analysts had been expecting.

That small rise reflected a 3.3 percent drop in sales at auto dealerships, offsetting a big 4.6 percent jump in sales at gasoline stations, an increase that largely mirrored last month's huge jump in pump prices.

General Motors said Tuesday that it plans to lay off salaried workers, cut truck production and suspend its stock dividend, showing the depth of the U.S. auto industry's mounting troubles as it adjusts to a declining U.S. market.

GM said it would also borrow $2 billion to $3 billion as part of an effort to raise $15 billion to help turn around its North American operations.