------- Comment #4 from jakub at gcc dot gnu dot org 2010-05-27 10:11 ------- All the tests demonstrate is that you have buggy constraint, in particular you shouldn't use "g" constraint on something you use in gs:[%2]. "g" is any register (fine in that case), immediate (not fine) or memory (not fine either in this case). mov al, gs:[DWORD PTR [ebp+12]] is what you get when this->offset is memory at ebp+12, and that of course doesn't assemble. Just use "r".
-- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44288