diff options
author | Thomas Koenig <tkoenig@gcc.gnu.org> | 2008-04-25 20:11:19 +0000 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2008-04-25 20:11:19 +0000 |
commit | e94471bae06f30fae4904fa95da2d36a9dc11985 (patch) | |
tree | 5f24f7aeead22d78965be0aee3ad465cde8a92f5 /libgfortran/m4 | |
parent | e55d0e3595352308d03019c43c052f6e4474e62b (diff) | |
download | gcc-e94471bae06f30fae4904fa95da2d36a9dc11985.zip gcc-e94471bae06f30fae4904fa95da2d36a9dc11985.tar.gz gcc-e94471bae06f30fae4904fa95da2d36a9dc11985.tar.bz2 |
re PR fortran/35960 (run time abort with assignment of RESHAPEd zero sized array)
2008-04-25 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/35960
* m4/reshape.m4: Fix typo in last commit.
* generated/reshape_i4.c: Regererated.
* generated/reshape_i8.c: Regenerated.
* generated/reshape_i16.c: Regenerated.
* generated/reshape_r4.c: Regenerated.
* generated/reshape_r8.c: Regenerated.
* generated/reshape_r10.c: Regenerated.
* generated/reshape_r16.c: Regenerated.
* generated/reshape_c4.c: Regenerated.
* generated/reshape_c8.c: Regenerated.
* generated/reshape_c10.c: Regenerated.
* generated/reshape_c16.c: Regenerated.
From-SVN: r134677
Diffstat (limited to 'libgfortran/m4')
-rw-r--r-- | libgfortran/m4/reshape.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/m4/reshape.m4 b/libgfortran/m4/reshape.m4 index ed060ec..a10ad71 100644 --- a/libgfortran/m4/reshape.m4 +++ b/libgfortran/m4/reshape.m4 @@ -135,7 +135,7 @@ reshape_'rtype_ccode` ('rtype` * const restrict ret, rstride[n] = ret->dim[dim].stride; rextent[n] = ret->dim[dim].ubound + 1 - ret->dim[dim].lbound; if (rextent[n] < 0) - rextent[n] == 0; + rextent[n] = 0; if (rextent[n] != shape_data[dim]) runtime_error ("shape and target do not conform"); |