re PR target/35349 (gcc.c-torture/execute/20050604-1.c fails)
authorUros Bizjak <ubizjak@gmail.com>
Sun, 24 Feb 2008 19:17:15 +0000 (20:17 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Sun, 24 Feb 2008 19:17:15 +0000 (20:17 +0100)
        PR target/35349
        * gcc.c-torture/execute/20050604-1.x: New file.

From-SVN: r132596

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20050604-1.x [new file with mode: 0644]

index c220dc9456d81e1c06ac45476dd895de273a9cb1..fa45cfb45c1a4f8500750229bc4e1505dff1e631 100644 (file)
@@ -1,3 +1,8 @@
+2008-02-24  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/35349
+       * gcc.c-torture/execute/20050604-1.x: New file.
+
 2008-02-24  Uros Bizjak  <ubizjak@gmail.com>
 
        * gcc.target/i386/pr22076.c: Update number of mov insns
diff --git a/gcc/testsuite/gcc.c-torture/execute/20050604-1.x b/gcc/testsuite/gcc.c-torture/execute/20050604-1.x
new file mode 100644 (file)
index 0000000..f5b4aaa
--- /dev/null
@@ -0,0 +1,9 @@
+# This testcase generates MMX instructions together with x87 instructions.
+# Currently, there is no "emms" generated to switch between register sets,
+# so the testcase fails for targets where MMX insns are enabled.
+
+if { [istarget "i?86-*-*"] || [istarget "x86_64-*-*"] } {
+       set additional_flags "-mno-mmx"
+}
+
+return 0