From: Matthias Braun Date: Wed, 13 Sep 2006 12:14:14 +0000 (+0000) Subject: store bug X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=2a28d4e5ce1669e2e441bcdcd542612aaec55640;p=libfirm store bug --- 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; +}