Re: PR fortran/93524 - rank >= 3 array stride incorrectly set in CFI_establish

2021-01-27 Thread Harris Snyder
fixed strides for rank >2 arrays gcc/testsuite/ChangeLog: * gfortran.dg/ISO_Fortran_binding_18.c: New test. * gfortran.dg/ISO_Fortran_binding_18.f90: New test. On Wed, Jan 13, 2021 at 2:10 PM Harris Snyder wrote: > > Hi Tobias / all, > > Further related to https://

[PATCH Fortran] Re: PR fortran/93524 - rank >= 3 array stride incorrectly set in CFI_establish

2021-01-27 Thread Harris Snyder
ntime/ISO_Fortran_binding.c (CFI_establish): fixed strides for rank >2 arrays gcc/testsuite/ChangeLog: * gfortran.dg/ISO_Fortran_binding_18.c: New test. * gfortran.dg/ISO_Fortran_binding_18.f90: New test. > On Wed, Jan 13, 2021 at 2:10 PM Harris Snyder wrote: > > > > Hi Tobias

[PATCH, Fortran] Bug fix in ISO_Fortran_binding - unsigned char arrays

2021-01-12 Thread Harris Snyder
don't have write access so I will need someone else to commit this for me if possible. Thanks, Harris Snyder Fixes a bug in ISO_Fortran_binding.c whereby signed char or uint8_t arrays would cause crashes unless an element size is specified. libgfortran/ChangeLog: * ru

Re: Bug fix in ISO_Fortran_binding - unsigned char arrays

2021-01-12 Thread Harris Snyder
Hi everyone, Sorry, my previous email erroneously referred to unsigned chars / uint8_t, when I in fact meant signed chars / int8_t. The actual patch works, but the test case files have ‘unit’ in the file names. I’ll provide a corrected patch tomorrow to fix the file names. Harris

[PATCH, Fortran] PR fortran/93524 - ISO_Fortran_binding signed char arrays

2021-01-13 Thread Harris Snyder
On Wed, Jan 13, 2021 at 1:34 AM Harris Snyder wrote: > > Hi everyone, > > Sorry, my previous email erroneously referred to unsigned chars / uint8_t, > when I in fact meant signed chars / int8_t. The actual patch works, but the > test case files have ‘uint’ in the file nam