Innocently looking union member swap
authorReini Urban <rurban@x-ray.at>
Sun, 6 Dec 2009 14:31:23 +0000 (14:31 +0000)
committerRafael Garcia-Suarez <rgs@consttype.org>
Sun, 6 Dec 2009 21:18:23 +0000 (22:18 +0100)
commit2a12fdfc8231e1ef9e624e5f6dac620de236e884
treed367057d7f82aac895d28c19b7874a20b58d1cf2
parent077f834239e40e0523e428946baaf95eaec43724
Innocently looking union member swap

This helps statically initializing union members on gcc,
otherwise we get "initializer element is not computable at load time".
This speeds up initializing larger B::C/B::CC compiled programs with -O1/-O2 by 10%.
sv.h