Shell log: $ cat t14.c int main() { char a,b; asm volatile ("mov%z0 %1, %0" : "=r"(a) : "m"(b)); } $ gcc -o t14 t14.c t14.c: In function `main': t14.c:4: internal compiler error: in print_operand, at config/i386/i386.c:7392 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. [EMAIL PROTECTED]:~/tmp>
The same works if a and b are int. I also see this bug with GCC 3.3.5 on i486-linux host/target. -- Summary: %z produces ICE for char operands Product: gcc Version: 3.4.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: inline-asm AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: cnovikov at pacbell dot net GCC host triplet: i686-pc-cygwin GCC target triplet: i686-pc-cygwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30413