On Tue, May 21, 2019 at 08:53:59AM +0200, Martin Liška wrote:
> >From 3e01ffe133f9e62156599555732b9d14d9293025 Mon Sep 17 00:00:00 2001
> From: Martin Liska <mli...@suse.cz>
> Date: Tue, 21 May 2019 08:51:06 +0200
> Subject: [PATCH] Move a test-case (PR testsuite/90551).
> 
> gcc/testsuite/ChangeLog:
> 
> 2019-05-21  Martin Liska  <mli...@suse.cz>
> 
>       PR testsuite/90551
>       * pr90263.c: Move from gcc.c-torture/compile
>       into gcc.dg.

Note in gcc.dg/ the default options will be -O0, is that what you want to
test (or say add -O2 in dg-options, or cycle through torture options by
having the test in gcc.dg/torture/)?

>  gcc/testsuite/{gcc.c-torture/compile => gcc.dg}/pr90263.c | 1 +
>  1 file changed, 1 insertion(+)
>  rename gcc/testsuite/{gcc.c-torture/compile => gcc.dg}/pr90263.c (92%)
> 
> diff --git a/gcc/testsuite/gcc.c-torture/compile/pr90263.c 
> b/gcc/testsuite/gcc.dg/pr90263.c
> similarity index 92%
> rename from gcc/testsuite/gcc.c-torture/compile/pr90263.c
> rename to gcc/testsuite/gcc.dg/pr90263.c
> index df3ab0fc1cd..acf3db16640 100644
> --- a/gcc/testsuite/gcc.c-torture/compile/pr90263.c
> +++ b/gcc/testsuite/gcc.dg/pr90263.c
> @@ -1,4 +1,5 @@
>  /* PR middle-end/90263 */
> +/* { dg-do compile } */
>  /* { dg-require-effective-target glibc } */
>  
>  int *f (int *p, int *q, long n)
> -- 
> 2.21.0
> 


        Jakub

Reply via email to