------- Comment #1 from cfairles at gcc dot gnu dot org 2008-10-24 16:06 ------- I haven't double checked the standard but this looks like undefined behavior. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37911