[Bug target/36710] FAIL: gcc.dg/torture/fp-int-convert-float128.c -Os (internal compiler error)

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jul 3 13:03:00 GMT 2008



------- Comment #6 from ubizjak at gmail dot com  2008-07-03 13:02 -------
Index: gcc.target/i386/float128-2.c
===================================================================
--- gcc.target/i386/float128-2.c        (revision 0)
+++ gcc.target/i386/float128-2.c        (revision 0)
@@ -0,0 +1,17 @@
+/* PR target/36710 */
+
+/* { dg-do run { target *-*-linux* *-*-darwin* } } */
+/* { dg-options "-Os -msse2" } */
+
+#include "sse2-check.h"
+
+extern void abort (void);
+
+static void
+sse2_test (void)
+{
+  static volatile __float128 a = 123.0q;
+
+  if ((int) a != 123)
+    abort ();
+}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36710



More information about the Gcc-bugs mailing list