This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello world, this rather straightforward patch fixes PR 30415, where integer(kind=1) functions were missing for minloc and maxloc. Regression-tested on i686-pc-linux-gnu. OK for trunk and, after a week or so, for 4.2? Thomas 2007-01-09 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/30415 * iresolve.c (gfc_resolve_maxloc): If the rank of the return array is nonzero and we process an integer array smaller than default kind, coerce the array to default integer. * iresolve.c (gfc_resolve_minloc): Likewise. 2007-01-09 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/30415 * minmaxloc_integer_kinds_1.f90: New test.
Attachment:
minmaxloc-patch
Description: Text document
Attachment:
minmaxloc_integer_kinds_1.f90
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |