From: Sebastian Buchwald Date: Tue, 23 Sep 2008 12:58:03 +0000 (+0000) Subject: Added test case for pbqp construction: There seems to be missing skip patterns, so... X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=a4c23fb5fdcaf600f18b4fa7b7e104fa9b7dc514;p=libfirm Added test case for pbqp construction: There seems to be missing skip patterns, so that the pbqp transformer produce unnecessary ia32 nodes. [r22199] --- diff --git a/ir/be/test/fehler155.c b/ir/be/test/fehler155.c new file mode 100644 index 000000000..d4d7c459b --- /dev/null +++ b/ir/be/test/fehler155.c @@ -0,0 +1,11 @@ +struct { + int x; + int lets[]; +} glob; + +int x = 42; + +int main(void) { + int y = glob.lets[5] + glob.lets[x * 3]; + return y; +}