From 2a28d4e5ce1669e2e441bcdcd542612aaec55640 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Wed, 13 Sep 2006 12:14:14 +0000 Subject: [PATCH] store bug --- ir/be/test/store_bug.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ir/be/test/store_bug.c diff --git a/ir/be/test/store_bug.c b/ir/be/test/store_bug.c new file mode 100644 index 000000000..9054f2c2b --- /dev/null +++ b/ir/be/test/store_bug.c @@ -0,0 +1,15 @@ +extern int x; +int x; + +int main() +{ + int i = 0; + + x = 0; + do { + x = x + i; + ++i; + } while(i < 3); + + return x != 3; +} -- 2.20.1