From 04042bf44eb6e0cd073f2ce66cd07bfde0f557a5 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Thu, 1 Mar 2007 21:17:13 +0000 Subject: [PATCH] test float calls whose return is unused --- ir/be/test/fcall.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.20.1