[PATCH] Disable pr36728-1/2 testcases on s390(x)

Richard Guenther richard.guenther@gmail.com
Thu Jan 13 13:36:00 GMT 2011


On Thu, Jan 13, 2011 at 1:35 PM, Andreas Krebbel
<krebbel@linux.vnet.ibm.com> wrote:
> Hi,
>
> the attached patch disables the pr36728-1 and pr36728-2 testcases for
> s390 and s390x.
>
> The testcases check for the availability of the function arguments in
> the debugger while doing runtime stack adjustments.  On s390 and s390x
> the calculations with the stack address use registers r2 and r3 which
> were holding the first two function arguments until that point.  So
> these testcases can't succeed on s390(x).
>
> Ok to apply?

Does xfailing the tests for arg1 and arg2 for s390(x) work with the guality
framework?  If so I'd prefer that.  Otherwise the patch is ok.

Thanks,
Richard.

> Bye,
>
> -Andreas-
>
>
> 2011-01-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
>
>        * gcc.dg/guality/pr36728-1.c: Disable for s390 and s390x.
>        * gcc.dg/guality/pr36728-2.c: Likewise.
>
>
> Index: gcc/testsuite/gcc.dg/guality/pr36728-1.c
> ===================================================================
> *** gcc/testsuite/gcc.dg/guality/pr36728-1.c.orig
> --- gcc/testsuite/gcc.dg/guality/pr36728-1.c
> ***************
> *** 1,5 ****
>  /* PR debug/36728 */
> ! /* { dg-do run } */
>  /* { dg-options "-g" } */
>
>  int __attribute__((noinline))
> --- 1,5 ----
>  /* PR debug/36728 */
> ! /* { dg-do run { target { ! "s390*-*-*" } } } */
>  /* { dg-options "-g" } */
>
>  int __attribute__((noinline))
> Index: gcc/testsuite/gcc.dg/guality/pr36728-2.c
> ===================================================================
> *** gcc/testsuite/gcc.dg/guality/pr36728-2.c.orig
> --- gcc/testsuite/gcc.dg/guality/pr36728-2.c
> ***************
> *** 1,5 ****
>  /* PR debug/36728 */
> ! /* { dg-do run } */
>  /* { dg-options "-g" } */
>
>  int __attribute__((noinline))
> --- 1,5 ----
>  /* PR debug/36728 */
> ! /* { dg-do run { target { ! "s390*-*-*" } } } */
>  /* { dg-options "-g" } */
>
>  int __attribute__((noinline))
>



More information about the Gcc-patches mailing list