[PATCH, gfortran] Re: Cray Pointers
Tobias Schlüter
tobias.schlueter@physik.uni-muenchen.de
Sun Aug 14 22:06:00 GMT 2005
Jack Howarth wrote:
> However I find that the cray_pointers_3.f90 test doesn't compile...
>
> gfortran -fcray-pointer cray_pointers_3.f90
>
> ...gives...
>
> In file cray_pointers_3.f90:8
>
> pointer (ipt, array) ! { dg-error "integer" }
> 1
> Error: Cray pointer at (1) must be an integer.
etc.
This looks like the intended behavior, or is there something special. Asher's
checking for specific error messages.
> and while I can compile loc_2.f90 with...
>
> gfortran loc_2.f90
>
> ...the resulting binary seems to generate an error...
>
> [Jack-Howarths-Computer:~/Desktop] howarth% ./a.out
> 12496
This test shouldn't compile but instead give an error. So this indeed looks
like a bug.
- Tobi
More information about the Fortran
mailing list