From: Matthias Braun Date: Thu, 1 Mar 2007 21:17:13 +0000 (+0000) Subject: test float calls whose return is unused X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=04042bf44eb6e0cd073f2ce66cd07bfde0f557a5;p=libfirm test float calls whose return is unused --- diff --git a/ir/be/test/fcall.c b/ir/be/test/fcall.c index 8efec74c7..16576734e 100644 --- a/ir/be/test/fcall.c +++ b/ir/be/test/fcall.c @@ -4,6 +4,8 @@ float a; int main() { + /* tests for problems in x87 simulator when results of a call are not + * used */ float b = a; sqrt(a); printf("%f\n", b);