Carlos Pereira of the Brookings Institution (link) has reviewed the dismal productivity growth and the consequent macroeconomic indicators in Brazil in the last decade.
"Although there are several expenditures in this category, the one that stands out high above all others is outlays for social security and pensions. Practically one-third of the federal budget is devoted to these expenditures, whereas expenditures in investments were less than 6 percent in 2003. Pensions in Brazil since the 1988 constitution have been notably generous, especially in the civil service. A new group of non-contributing rural pensions was added, contributing to systematic deficits. With about 11.7 percent of GDP, Brazil has one of the highest social security expenditures in the world, especially considering that the Brazilian population is much younger than that of most countries with similar levels of expenditure."