On Thu, Oct 17, 2019 at 08:43:29AM +0100, Mark Eggleston wrote:
> Please find attached patch for additional test cases. Are these sufficient?
> If so, OK to commit?
> 
> Change log:
> 
>     Mark Eggleston <mark.eggles...@codethink.com>
> 
>     * gfortran.dg/auto_in_equiv_3.f90: New test.
>     * gfortran.dg/auto_in_equiv_4.f90: New test.
>     * gfortran.dg/auto_in_equiv_5.f90: New test.
>     * gfortran.dg/auto_in_equiv_6.f90: New test.
>     * gfortran.dg/auto_in_equiv_7.f90: New test.

Ok, with small nits:

> --- /dev/null
> +++ b/gcc/testsuite/gfortran.dg/auto_in_equiv_4.f90
> @@ -0,0 +1,18 @@
> +! { dg-do compile }
> +! { dg-options "-fdec-static -fno-automatic -fdump-tree-original" }
> +!
> +! Neither of the local variable have the auotmatic attribute so they

s/auotmatic/automatic/

> --- /dev/null
> +++ b/gcc/testsuite/gfortran.dg/auto_in_equiv_5.f90
> @@ -0,0 +1,18 @@
> +! { dg-do compile }
> +! { dg-options "-fdump-tree-original" }
> +!
> +! Neither of the local variable have the auotmatic attribute so they
> +! not be allocated on the stack.

Likewise.

> --- /dev/null
> +++ b/gcc/testsuite/gfortran.dg/auto_in_equiv_6.f90
> @@ -0,0 +1,18 @@
> +! { dg-do compile }
> +! { dg-options "-fdec-static -fdump-tree-original" }
> +!
> +! Neither of the local variable have the auotmatic attribute so they
> +! not be allocated on the stack.

Likewise.

        Jakub

Reply via email to