[patch, libfortran] Fix PR 38234
Thomas Koenig
tkoenig@netcologne.de
Sun Nov 23 15:18:00 GMT 2008
Hello world,
this fixes another regression in RESHAPE bounds checking, which showed
up with RUNTESTFLAGS="-target_board=unix/-fbounds-check", which
Dominique then analyzed.
Regression-tested both with and without the above flag (which I will
start doing on a regular basis when doing bounds checking patches).
OK for trunk?
Thomas
2008-11-23 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/38234
* intrinsics/reshape_generic.c (reshape_internal):
Source can be larger than shape.
* m4/reshape.m4: Likewise.
* generated/reshape_c10.c Regenerated.
* generated/reshape_c16.c Regenerated.
* generated/reshape_c4.c Regenerated.
* generated/reshape_c8.c Regenerated.
* generated/reshape_i16.c Regenerated.
* generated/reshape_i4.c Regenerated.
* generated/reshape_i8.c Regenerated.
* generated/reshape_r10.c Regenerated.
* generated/reshape_r16.c Regenerated.
* generated/reshape_r4.c Regenerated.
* generated/reshape_r8.c Regenerated.
2008-11-23 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/38234
* gfortran.dg/reshape_4.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reshape-pr38234.diff
Type: text/x-patch
Size: 4382 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20081123/6a36a8ae/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reshape_4.f90
Type: text/x-fortran
Size: 379 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20081123/6a36a8ae/attachment-0001.bin>
More information about the Gcc-patches
mailing list