------- Comment #6 from hjl dot tools at gmail dot com 2009-02-09 19:39 ------- I think gcc treats REG in:
register unsigned long reg asm ("rax"); as an alias of the RAX register. If you use REG in any way which interferes with register allocator, you will get either ICE or unexpected results. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39139