On Sat, Aug 6, 2011 at 5:40 PM, Christopher Huang-Leaver <zeong...@googlemail.com> wrote: > Output: > > small end first > big end first > > gcc -v > gcc version 4.4.5 (Gentoo 4.4.5 p1.2, pie-0.4.5) > I got the same result with g++-4.4 (4.4.6), g++-4.5 (4.5.3) on Debian testing. But with g++-4.6, I got
small end first on my x86_64-linux-gnu machine. I think it's a bug, but it has been fixed in g++-4.6. Regards, Jie