mirror of git://gcc.gnu.org/git/gcc.git
2017-11-22 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/36313
* Makefile.am: Add i_maxloc0s_c, i_maxloc1s_c, i_maxloc2s_c,
i_minloc0s_c, i_minloc1s_c and i_minloc2s_c.
* Makefile.in: Regenerated.
* generated/maxloc0_16_s1.c: New file.
* generated/maxloc0_16_s4.c: New file.
* generated/maxloc0_4_s1.c: New file.
* generated/maxloc0_4_s4.c: New file.
* generated/maxloc0_8_s1.c: New file.
* generated/maxloc0_8_s4.c: New file.
* generated/maxloc1_16_s1.c: New file.
* generated/maxloc1_16_s4.c: New file.
* generated/maxloc1_4_s1.c: New file.
* generated/maxloc1_4_s4.c: New file.
* generated/maxloc1_8_s1.c: New file.
* generated/maxloc1_8_s4.c: New file.
* generated/maxloc2_16_s1.c: New file.
* generated/maxloc2_16_s4.c: New file.
* generated/maxloc2_4_s1.c: New file.
* generated/maxloc2_4_s4.c: New file.
* generated/maxloc2_8_s1.c: New file.
* generated/maxloc2_8_s4.c: New file.
* generated/minloc0_16_s1.c: New file.
* generated/minloc0_16_s4.c: New file.
* generated/minloc0_4_s1.c: New file.
* generated/minloc0_4_s4.c: New file.
* generated/minloc0_8_s1.c: New file.
* generated/minloc0_8_s4.c: New file.
* generated/minloc1_16_s1.c: New file.
* generated/minloc1_16_s4.c: New file.
* generated/minloc1_4_s1.c: New file.
* generated/minloc1_4_s4.c: New file.
* generated/minloc1_8_s1.c: New file.
* generated/minloc1_8_s4.c: New file.
* generated/minloc2_16_s1.c: New file.
* generated/minloc2_16_s4.c: New file.
* generated/minloc2_4_s1.c: New file.
* generated/minloc2_4_s4.c: New file.
* generated/minloc2_8_s1.c: New file.
* generated/minloc2_8_s4.c: New file.
* m4/iforeach-s.m4: New file.
* m4/ifunction-s.m4: New file.
* m4/maxloc0s.m4: New file.
* m4/maxloc1s.m4: New file.
* m4/maxloc2s.m4: New file.
* m4/minloc0s.m4: New file.
* m4/minloc1s.m4: New file.
* m4/minloc2s.m4: New file.
* gfortran.map: Add new functions.
* libgfortran.h: Add gfc_array_s1 and gfc_array_s4.
2017-11-22 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/36313
* check.c (int_or_real_or_char_check_f2003): New function.
* iresolve.c (gfc_resolve_maxloc): Add number "2" for
character arguments and rank-zero return value.
(gfc_resolve_minloc): Likewise.
* trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc): Handle case of
character arguments and rank-zero return value by removing
unneeded arguments and calling the library function.
2017-11-22 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/36313
* gfortran.dg/maxloc_string_1.f90: New test.
* gfortran.dg/minloc_string_1.f90: New test.
From-SVN: r255070
|
||
|---|---|---|
| .. | ||
| all.m4 | ||
| any.m4 | ||
| bessel.m4 | ||
| count.m4 | ||
| cshift0.m4 | ||
| cshift1.m4 | ||
| cshift1a.m4 | ||
| eoshift1.m4 | ||
| eoshift3.m4 | ||
| head.m4 | ||
| iall.m4 | ||
| iany.m4 | ||
| iforeach-s.m4 | ||
| iforeach.m4 | ||
| ifunction-s.m4 | ||
| ifunction.m4 | ||
| ifunction_logical.m4 | ||
| in_pack.m4 | ||
| in_unpack.m4 | ||
| iparity.m4 | ||
| iparm.m4 | ||
| matmul.m4 | ||
| matmul_internal.m4 | ||
| matmulavx128.m4 | ||
| matmull.m4 | ||
| maxloc0.m4 | ||
| maxloc0s.m4 | ||
| maxloc1.m4 | ||
| maxloc1s.m4 | ||
| maxloc2s.m4 | ||
| maxval.m4 | ||
| minloc0.m4 | ||
| minloc0s.m4 | ||
| minloc1.m4 | ||
| minloc1s.m4 | ||
| minloc2s.m4 | ||
| minval.m4 | ||
| misc_specifics.m4 | ||
| mtype.m4 | ||
| norm2.m4 | ||
| pack.m4 | ||
| parity.m4 | ||
| pow.m4 | ||
| product.m4 | ||
| reshape.m4 | ||
| shape.m4 | ||
| specific.m4 | ||
| specific2.m4 | ||
| spread.m4 | ||
| sum.m4 | ||
| types.m4 | ||
| unpack.m4 | ||