05-04-22 Thomas Koenig <Thomas.Koenig@online.de>
PR libfortran/20074 PR libfortran/20436 PR libfortran/21108 * gfortran.dg/nested_reshape.f90: new test * gfortran.dg/reshape-alloc.f90: new test * gfortran.dg/reshape.f90: new test 2005-04-22 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/20074 PR libfortran/20436 PR libfortran/21108 * m4/reshape.m4 (reshape_`'rtype_kind): rs, rex: New variables, to be used in calculation of return array sizes. Populate return array descriptor if ret->data is NULL. Fix condition for early return (it used to test something undefined if order was used). Remove duplicate check wether pad is used. * intrinsics/reshape_generic.c (reshape_generic): Likewise. Fix a few places where the wrong variables were set. * generated/reshape_i4.c: Regenerated. * generated/reshape_i8.c: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98585 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/testsuite/ChangeLog 9 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gfortran.dg/nested_reshape.f90 12 additions, 0 deletionsgcc/testsuite/gfortran.dg/nested_reshape.f90
- gcc/testsuite/gfortran.dg/reshape-alloc.f90 32 additions, 0 deletionsgcc/testsuite/gfortran.dg/reshape-alloc.f90
- gcc/testsuite/gfortran.dg/reshape.f90 33 additions, 0 deletionsgcc/testsuite/gfortran.dg/reshape.f90
- libgfortran/ChangeLog 16 additions, 0 deletionslibgfortran/ChangeLog
- libgfortran/generated/reshape_i4.c 26 additions, 6 deletionslibgfortran/generated/reshape_i4.c
- libgfortran/generated/reshape_i8.c 26 additions, 6 deletionslibgfortran/generated/reshape_i8.c
- libgfortran/intrinsics/reshape_generic.c 30 additions, 9 deletionslibgfortran/intrinsics/reshape_generic.c
- libgfortran/m4/reshape.m4 26 additions, 6 deletionslibgfortran/m4/reshape.m4
Loading
Please register or sign in to comment