------- Comment #3 from mikulas at artax dot karlin dot mff dot cuni dot cz 2009-11-11 21:06 ------- You can dereference void * in asm arguments --- i.e. void *p; ... asm volatile ("prefetch %0"::"m"(*p));
gcc warns in this case about the dereference and maybe it shouldn't (but it's trivial to supress the warning with a cast to char *). If you change "m" constraint to "mr", you get an ICE. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41992