https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120191

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Even on the gcc/testsuite/gfortran.dg/pr120152_{1,2}.f90 I see 6 resp. 5
arguments even when the library expects 5 resp. 4:
grep maxloc pr120152_1.f90.007t.gimple 
            _gfortran_smaxloc1_4_i8 (&parm.0, D.4708, D.4712, D.4713, D.4715,
1);
            _gfortran_smaxloc1_8_i8 (&parm.3, D.4746, D.4750, D.4751, D.4753,
1);
            _gfortran_maxloc1_4_i8 (&parm.6, D.4783, D.4787, D.4789, 1);
            _gfortran_maxloc1_8_i8 (&parm.9, D.4819, D.4823, D.4825, 1);
            _gfortran_mmaxloc1_4_i8 (&parm.15, D.4870, D.4874, D.4881, D.4885,
1);
            _gfortran_mmaxloc1_8_i8 (&parm.23, D.4930, D.4934, D.4941, D.4945,
1);

Patches should be posted to the mailing list (fort...@gcc.gnu.org with CC
gcc-patc...@gcc.gnu.org) and should include a testcase which fails without the
actual change and passes with it (dg-do run test, ideally covering the various
min/maxloc forms).

Reply via email to