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

            Bug ID: 61567
           Summary: gfortran.dg/coarray_collectives_{5,6}.f90 failure
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org

Created attachment 32978
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32978&action=edit
coarray_collectives_5.f90

I see these failures with r211823.

./gcc/testsuite/gfortran/gfortran.sum:
...
FAIL: gfortran.dg/coarray_collectives_5.f90  -O   scan-tree-dump-times original
"_gfortran_caf_co_max \\(&desc.., 0B, 0, &stat1, 0B, 0, 0\\);" 1
FAIL: gfortran.dg/coarray_collectives_5.f90  -O   scan-tree-dump-times original
"_gfortran_caf_co_min \\(&desc.., 0B, 0, &stat2, 0B, 0, 0\\);" 1
FAIL: gfortran.dg/coarray_collectives_5.f90  -O   scan-tree-dump-times original
"_gfortran_caf_co_sum \\(&desc.., 0B, 0, &stat3, 0B, 0\\);" 1
FAIL: gfortran.dg/coarray_collectives_6.f90  -O   scan-tree-dump-times original
"_gfortran_caf_co_max \\(&desc.., 0B, 0, &stat1, errmesg1, 0, 6\\);" 1
FAIL: gfortran.dg/coarray_collectives_6.f90  -O   scan-tree-dump-times original
"_gfortran_caf_co_sum \\(&val2, 0B, 4, &stat2, errmesg2, 7\\);" 1
FAIL: gfortran.dg/coarray_collectives_6.f90  -O   scan-tree-dump-times original
"_gfortran_caf_co_min \\(&desc.., 0B, res, &stat3, errmesg3, 99, 8\\);" 1
...

The original dump for coarray_collectives_5.f90 contains:
  _gfortran_caf_co_max (&desc.0, 0, &stat1, 0B, 0, 0);
and the scan for this pattern fails:
  _gfortran_caf_co_max \\(&desc.., 0B, 0, &stat1, 0B, 0, 0\\);

I tentatively marked this as a testsuite problem.

Reply via email to