------- Comment #2 from tbm at cyrius dot com 2006-07-27 17:04 ------- This is not i386 specific. I get the same on ia64 with e.g.
void f(int port) { __asm__ volatile ("inb %1,%0" :"=a" (port) :"d"((unsigned short) port)); } It's still there as of current gcc 4.2. -- tbm at cyrius dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tbm at cyrius dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21299