Gasoline, discount vs name brand, quality the same?

40 years ago I would say yes it is risky to buy off brand gas. Today not so much. Only in the last 5 years or so did I start trying off brand gasolines, I have had no problem so far.