test float calls whose return is unused
authorMatthias Braun <matze@braunis.de>
Thu, 1 Mar 2007 21:17:13 +0000 (21:17 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 1 Mar 2007 21:17:13 +0000 (21:17 +0000)
ir/be/test/fcall.c

index 8efec74..1657673 100644 (file)
@@ -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);