Re: [PATCH] Fortran Cray pointer macro support

2020-10-14 Thread Marshall Ward
On Tue, Oct 6, 2020 at 8:29 PM Zack Weinberg wrote: > > I think we would prefer the macro to be named AC_FC_CRAY_POINTERS, and > I wonder whether there should be a _F77_ variant -- Cray pointers have > been around since the 80s, haven't they? The latest patch renames the macro to plural (e.g.

Re: [PATCH] Fortran Cray pointer macro support

2020-10-07 Thread Marshall Ward
On Tue, Oct 6, 2020 at 8:29 PM Zack Weinberg wrote: > > I think we would prefer the macro to be named AC_FC_CRAY_POINTERS, and > I wonder whether there should be a _F77_ variant -- Cray pointers have > been around since the 80s, haven't they? Renaming the macro is not a problem. I will make

Re: [PATCH] Fortran Cray pointer macro support

2020-10-06 Thread Zack Weinberg
On Tue, Oct 6, 2020 at 12:24 PM Marshall Ward wrote: > This patch adds a macro, AC_FC_CRAY_POINTER, which tests if the Fortran > compiler supports Cray pointers. This seems like a reasonable addition to me. Would anyone with Fortran experience care to comment? I have never properly learned

[PATCH] Fortran Cray pointer macro support

2020-10-06 Thread Marshall Ward
This patch addes a macro, AC_FC_CRAY_POINTER, which tests if the Fortran compiler supports Cray pointers. It provides additional tests for particular flags required by GFortran and PGI compilers. The current set of flags is sparse, but can be extended for other compilers if needed.