[cfe-commits] r72573 - /cfe/trunk/test/CodeGen/volatile-1.c

Mike Stump mrs at apple.com
Fri May 29 09:12:38 PDT 2009


Author: mrs
Date: Fri May 29 11:12:36 2009
New Revision: 72573

URL: http://llvm.org/viewvc/llvm-project?rev=72573&view=rev
Log:
Note another case that doesn't work yet.

Modified:
    cfe/trunk/test/CodeGen/volatile-1.c

Modified: cfe/trunk/test/CodeGen/volatile-1.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/volatile-1.c?rev=72573&r1=72572&r2=72573&view=diff

==============================================================================
--- cfe/trunk/test/CodeGen/volatile-1.c (original)
+++ cfe/trunk/test/CodeGen/volatile-1.c Fri May 29 11:12:36 2009
@@ -82,6 +82,10 @@
   // ============================================================
   // Test cases we get wrong.
 
+  // A use.  We load all of a into a copy of a, then load i.  gcc forgets to do
+  // the assignment.
+  (a = a).i;
+
   // ============================================================
   // Test cases where we intentionally differ from gcc, due to suspected bugs in
   // gcc.





More information about the cfe-commits mailing list