A recent decline in primary surpluses has added to the problem. Over the longer term, population aging represents a major challenge for a social-security system that already spends, as a share of GDP, as much as developed countries, where the share of the population 65 and over is twice that of Brazil.