https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78976
            Bug ID: 78976
           Summary: [7 Regression] FAIL: gfortran.dg/dependency_49.f90 and
                    gfortran.dg/transfer_intrinsic_1.f90
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: clyon at gcc dot gnu.org
                CC: jb at gcc dot gnu.org
  Target Milestone: ---
            Target: aarch64 arm

Hi,

Since commit r244003, I've noticed that 2 fortran tests now fail on arm and
aarch64 targets:
gfortran.dg/dependency_49.f90   -O   scan-tree-dump-times original "__var_1" 4
gfortran.dg/transfer_intrinsic_1.f90   -O   scan-tree-dump-times original
"MIN_EXPR" 1

I couldn't find the patch on gcc-patches, so I'm filing this bug report instead
of replying to the thread.

The commit message says:
    PR 78534 Modify string copy to avoid -Wstringop-overflow warning

    When the character length is changed from int to size_t the existing
    algorithm causes a -Wstringop-overflow warning with -O1 on the
    gfortran.dg/allocate_deferred_char_scalar_1.f03 testcase. This change
    is committed separately from the character length size change in order
    to make bisecting potential performance issues easier.

    2017-01-02  Janne Blomqvist  <j...@gcc.gnu.org>

            PR fortran/78534
        * trans-expr.c (gfc_trans_string_copy): Rework string copy
        algorithm to avoid -Wstringop-overflow warning.

Reply via email to