------- Comment #3 from sje at cup dot hp dot com 2007-06-21 17:10 ------- Slightly shorter test case:
unsigned char inb_local(unsigned long port) { unsigned char value; __asm__ __volatile__("in" "b" " %w1, %" "b" "0" : "=a"(value) : "Nd"(port)); return value; } void x_inb(unsigned short port) { unsigned char val; val = inb_local(port); } -- sje at cup dot hp dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-06-21 17:10:20 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32370