aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-05-29 16:12:36 +0000
committerMike Stump <mrs@apple.com>2009-05-29 16:12:36 +0000
commit2d3b36e302c81119eb49bcaf40a74bdaa185d04d (patch)
treecf47fbd7b5f8746d6941cf6c94bbe558a1a14257
parent7f79f9be5916c51c35da4f126b7c12596a101607 (diff)
Note another case that doesn't work yet.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72573 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/volatile-1.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/volatile-1.c b/test/CodeGen/volatile-1.c
index ea478841c4..3e7bbb8f44 100644
--- a/test/CodeGen/volatile-1.c
+++ b/test/CodeGen/volatile-1.c
@@ -82,6 +82,10 @@ int main() {
// ============================================================
// 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.