------- Comment #4 from jakub at gcc dot gnu dot org 2010-06-09 10:52 ------- We don't warn on void foo (void) { int dummy; asm ("" : "=r" (dummy)); } - the use in the asm is considered as a use, not just set. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44478