Fix/suppress some testsuite failures for the Arm.
authorNick Clifton <nickc@cygnus.com>
Wed, 22 Sep 1999 10:22:30 +0000 (10:22 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Wed, 22 Sep 1999 10:22:30 +0000 (10:22 +0000)
From-SVN: r29583

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

index 5c2051b..d438bba 100644 (file)
@@ -1,3 +1,10 @@
+1999-09-22  Nick Clifton  <nickc@cygnus.com>
+
+       * execute/comp-goto-1.x: New file.  Do not generate debug info
+       when building for arm targets.
+       * execute/980526-1.x: New file.  Expect failure for Arm and Fr30
+       toolchains at -O3.
+
 1999-09-21  Nick Clifton  <nickc@cygnus.com>
 
        * special/special.exp: Add FR30 to list of targets for which -fpic
diff --git a/gcc/testsuite/gcc.c-torture/execute/980526-1.x b/gcc/testsuite/gcc.c-torture/execute/980526-1.x
new file mode 100644 (file)
index 0000000..f5d9f3d
--- /dev/null
@@ -0,0 +1,11 @@
+set torture_eval_before_execute {
+
+    set compiler_conditional_xfail_data {
+        "I sure wish I knew why this was hosed (arm-elf is OK now)" \
+       "*arm-*-coff *arm-*-pe thumb-*-coff thumb-*-pe fr30-*-elf" \
+       {"-O3"} \
+       {"" }
+       }    
+}
+
+return 0
diff --git a/gcc/testsuite/gcc.c-torture/execute/comp-goto-1.x b/gcc/testsuite/gcc.c-torture/execute/comp-goto-1.x
new file mode 100644 (file)
index 0000000..b2d335b
--- /dev/null
@@ -0,0 +1,11 @@
+if {[istarget "*arm-*-*"] || [istarget "thumb-*-*"]} {
+
+   # On the Arm specifying -g produces a bogus label reference
+   # in debugging output.
+
+    set torture_eval_before_compile {
+      set additional_flags "-g0"
+    }
+}
+
+return 0