On 4/7/2014 2:41 AM, "Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang at gmail.com>" wrote: >> on. Unfortunately for your small program, gcc is too smart and >> optimises everything away. > > Haha, that's funny. But why don't you put the data in a separate compilation unit? True, it's pretty easy to defeat that optimization.