Added missing memory attribute to asm instruction.
authorKenneth Zadeck <zadeck@gcc.gnu.org>
Wed, 6 Oct 2004 16:54:58 +0000 (16:54 +0000)
committerKenneth Zadeck <zadeck@gcc.gnu.org>
Wed, 6 Oct 2004 16:54:58 +0000 (16:54 +0000)
From-SVN: r88612

gcc/testsuite/gcc.dg/20011119-1.c

index 5b3c00cd36faccd0471eb284fb52e7aa006354b2..0df09a3f778a0c32ec41d054d299a4ddea651b97 100644 (file)
@@ -74,7 +74,7 @@ main()
        "call %P0\n\t"
        "addl $12, %%esp\n\t"
        "popl %%ebp"
-       : : "i"(ustrzcat));
+       : : "i"(ustrzcat) : "memory" );
 
   return 0;
 }