The Brazilian government will work on reforms to limit spending on pensions and public payrolls, Planning Minister Nelson Barbosa told lawmakers on Tuesday as the administration struggles to contain a widening fiscal deficit.

The government on Monday presented a budget bill that, for the first time ever, forecasts a primary deficit. The bill fanned fears the once-booming economy could lose its investment-grade rating soon.