OSDN Git Service

PR testsuite/35047
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Feb 2008 08:57:11 +0000 (08:57 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Feb 2008 08:57:11 +0000 (08:57 +0000)
* gcc.c-torture/execute/20050316-2.x: New file.
* gcc.target/i386/pr17390.c: Update scan pattern.
* gcc.dg/builtin-apply4.c: Add -mno-mmx for 32bit x86 targets.
* g++.dg/tree-ssa/ivopts-1.C: Remove XPASS for x86 targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131997 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/ivopts-1.C
gcc/testsuite/gcc.c-torture/execute/20050316-2.x [new file with mode: 0644]
gcc/testsuite/gcc.dg/builtin-apply4.c
gcc/testsuite/gcc.target/i386/pr17390.c

index 29c8ac9..051a64c 100644 (file)
@@ -1,15 +1,23 @@
+2008-02-01  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR testsuite/35047
+       * gcc.c-torture/execute/20050316-2.x: New file.
+       * gcc.target/i386/pr17390.c: Update scan pattern.
+       * gcc.dg/builtin-apply4.c: Add -mno-mmx for 32bit x86 targets.
+       * g++.dg/tree-ssa/ivopts-1.C: Remove XPASS for x86 targets.
+
 2008-01-31  Paul Thomas  <pault@gcc.gnu.org>
 
        PR fortran/34910
        * gfortran.dg/proc_assign_2.f90: New test.
 
 2008-01-31  Douglas Gregor  <doug.gregor@gmail.com>
-           Jakub Jelinek  <jakub@redhat.com>
+           Jakub Jelinek  <jakub@redhat.com>
 
-       PR c++/34935
-       PR c++/34936
-       * g++.dg/ext/alias-canon.C: New.
-       * g++.dg/ext/alias-mangle.C: New.
+       PR c++/34935
+       PR c++/34936
+       * g++.dg/ext/alias-canon.C: New.
+       * g++.dg/ext/alias-mangle.C: New.
 
 2008-01-30  Jan Hubicka  <jh@suse.cz>
 
        
 2008-01-20  Paolo Carlini  <pcarlini@suse.de>
 
-        PR c++/34891
-        * g++.dg/ext/vector9.C: New.
+       PR c++/34891
+       * g++.dg/ext/vector9.C: New.
 
 2008-01-20  Paolo Carlini  <pcarlini@suse.de>
 
-        PR c++/34776
+       PR c++/34776
        PR c++/34486
-        * g++.dg/template/crash75.C: New.
-        * g++.dg/template/crash76.C: Likewise. 
+       * g++.dg/template/crash75.C: New.
+       * g++.dg/template/crash76.C: Likewise.  
 
 2008-01-20  Kaz Kojima  <kkojima@gcc.gnu.org>
 
        PR c++/33407
        * g++.dg/init/new26.C: New test.
 
-2008-01-18  Richard Guenther   <rguenther@suse.de>
+2008-01-18  Richard Guenther  <rguenther@suse.de>
 
        PR middle-end/34801
        * gcc.dg/Warray-bounds.c: XFAIL two tests, remove one
 
 2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>
 
-       PR c++/34314
-       * g++.dg/cpp0x/vt-34314.C: New.
-       * g++.dg/cpp0x/variadic79.C: Fix the error message to reflect
-       reality (the error message was wrong previously).
+       PR c++/34314
+       * g++.dg/cpp0x/vt-34314.C: New.
+       * g++.dg/cpp0x/variadic79.C: Fix the error message to reflect
+       reality (the error message was wrong previously).
 
 2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>
 
-       PR c++/33964
-       * g++.dg/cpp0x/vt-33964.C: New.
-       * g++.dg/template/partial5.C: New.
+       PR c++/33964
+       * g++.dg/cpp0x/vt-33964.C: New.
+       * g++.dg/template/partial5.C: New.
 
 2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>
 
-       PR c++/34052
-       * g++.dg/cpp0x/vt-34052.C: New.
-       * g++.dg/template/ttp26.C: New.
+       PR c++/34052
+       * g++.dg/cpp0x/vt-34052.C: New.
+       * g++.dg/template/ttp26.C: New.
        
 2008-01-14  Eric Botcazou  <ebotcazou@adacore.com>
 
 
 2008-01-01  Douglas Gregor  <doug.gregor@gmail.com>
 
-       * g++.dg/cpp0x/long_long.C: New.
+       * g++.dg/cpp0x/long_long.C: New.
 
 2008-01-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>
 
index 364a76c..3d3ef42 100644 (file)
@@ -13,6 +13,6 @@ void bar(void)
 }
 
 /* { dg-final { scan-tree-dump-not "-&x" "ivopts" } } */
-/* { dg-final { scan-tree-dump-not "offset: (4294967292|0x0f+fc)" "ivopts" { xfail i?86-*-* x86_64-*-* hppa*-*-* mips*-*-* } } } */
+/* { dg-final { scan-tree-dump-not "offset: (4294967292|0x0f+fc)" "ivopts" { xfail hppa*-*-* mips*-*-* } } } */
 /* { dg-final { scan-tree-dump-not "&x\\\[5\\\]" "ivopts" } } */
 /* { dg-final { cleanup-tree-dump "ivopts" } } */
diff --git a/gcc/testsuite/gcc.c-torture/execute/20050316-2.x b/gcc/testsuite/gcc.c-torture/execute/20050316-2.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
index 289694e..859b508 100644 (file)
@@ -1,5 +1,6 @@
 /* PR tree-optimization/20076 */
 /* { dg-options "-O2" } */
+/* { dg-options "-O2 -mno-mmx" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
 /* { dg-do run } */
 
 extern void abort (void);
index 3cf22e6..48b15ab 100644 (file)
@@ -7,4 +7,4 @@ double sgn (double __x)
   return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0);
 }
 
-/* { dg-final { scan-assembler-times "fnstsw" 1 } } */
+/* { dg-final { scan-assembler-times "fcom|ftst" 1 } } */