Patchwork Make the pass of 941014-1.c as a normal pass.

login
register
mail settings
Submitter Terry Guo
Date Sept. 20, 2011, 1:52 a.m.
Message ID <000501cc7737$f2f08f60$d8d1ae20$@guo@arm.com>
Download mbox | patch
Permalink /patch/115403/
State New
Headers show

Comments

Terry Guo - Sept. 20, 2011, 1:52 a.m.
Hello,

This is an old case written in 1997. Perhaps it intends to cover an old gcc
bug. In fact the case itself passed on QEMU for cortex-m3. So I am proposing
a patch here to remove the test script to make this pass as a normal pass.
Otherwise the pass is regarded as XPASS. Is it ok to trunk?

BR,
Terry

2011-09-20  Terry Guo  <terry.guo@arm.com>

        * gcc.c-torture/execute/941014-1.x: Deleted.
Richard Earnshaw - Sept. 23, 2011, 8:19 a.m.
On 20/09/11 02:52, Terry Guo wrote:
> Hello,
> 
> This is an old case written in 1997. Perhaps it intends to cover an old gcc
> bug. In fact the case itself passed on QEMU for cortex-m3. So I am proposing
> a patch here to remove the test script to make this pass as a normal pass.
> Otherwise the pass is regarded as XPASS. Is it ok to trunk?
> 
> BR,
> Terry
> 
> 2011-09-20  Terry Guo  <terry.guo@arm.com>
> 
>         * gcc.c-torture/execute/941014-1.x: Deleted.
> 

OK.

R.

> 
> diff --git a/gcc/testsuite/gcc.c-torture/execute/941014-1.x
> b/gcc/testsuite/gcc.c-torture/execute/941014-1.x
> deleted file mode 100644
> index bbe060e..0000000
> --- a/gcc/testsuite/gcc.c-torture/execute/941014-1.x
> +++ /dev/null
> @@ -1,15 +0,0 @@
> -# This doesn't always work for Thumb.
> - 
> -if { [istarget arm*-*-*] } {
> -    set torture_eval_before_execute {
> -       global compiler_conditional_xfail_data
> -       set compiler_conditional_xfail_data {
> -           "Thumb sets the last bit of function relocations" \
> -                   { "arm*-*-*" } \
> -                   { { "-mthumb" "-O0" } } \
> -                   { "" }
> -       }
> -    }
> -}
> -
> -return 0
> 
> 
> 
> 
>

Patch

diff --git a/gcc/testsuite/gcc.c-torture/execute/941014-1.x
b/gcc/testsuite/gcc.c-torture/execute/941014-1.x
deleted file mode 100644
index bbe060e..0000000
--- a/gcc/testsuite/gcc.c-torture/execute/941014-1.x
+++ /dev/null
@@ -1,15 +0,0 @@ 
-# This doesn't always work for Thumb.
- 
-if { [istarget arm*-*-*] } {
-    set torture_eval_before_execute {
-       global compiler_conditional_xfail_data
-       set compiler_conditional_xfail_data {
-           "Thumb sets the last bit of function relocations" \
-                   { "arm*-*-*" } \
-                   { { "-mthumb" "-O0" } } \
-                   { "" }
-       }
-    }
-}
-
-return 0