OSDN Git Service

Added missing memory attribute to asm instruction.
authorzadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Oct 2004 16:54:58 +0000 (16:54 +0000)
committerzadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Oct 2004 16:54:58 +0000 (16:54 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88612 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 5b3c00c..0df09a3 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;
 }