------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-17 16:38 ------- No, the type of the local register variable is a pointer to a volatile "char" (or struct) and not a volative register.
You want: register char*volatile cptr asm ("r29"); With that it works correctly. -- What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23444