* gcc.target/i386/pr24055.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104648
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-09-26 Uros Bizjak <uros@kss-loka.si>
+
+ PR target/24055
+ * gcc.target/i386/pr24055.c: New test.
+
2005-09-25 Kazu Hirata <kazu@codesourcery.com>
PR tree-optimization/23960
--- /dev/null
+/* PR target/24055 */
+/* Testcase reduced by Serge Belyshev */
+/* { dg-do compile } */
+/* { dg-options "-O2 -ffast-math" } */
+
+extern double rint(double);
+
+void foo_1 (int *p, double x)
+{
+ *p = rint (x);
+}
+
+void foo_2 (long long *p, double x)
+{
+ *p = rint (x);
+}
+
+int foo_3 (double x)
+{
+ return rint (x);
+}
+
+long long foo_4 (double x)
+{
+ return rint (x);
+}