[Bug fortran/84065] New: [8 regression] string_1.f90 fails since r256944

clyon at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 26 13:59:00 GMT 2018


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

            Bug ID: 84065
           Summary: [8 regression] string_1.f90 fails since r256944
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: clyon at gcc dot gnu.org
  Target Milestone: ---

Hi,

I've noticed failures on arm*linux* cross-compilers in:
    gfortran.dg/string_1.f90   -O   (test for errors, line 10)
    gfortran.dg/string_1.f90   -O   (test for errors, line 7)
    gfortran.dg/string_1.f90   -O   (test for errors, line 8)
    gfortran.dg/string_1.f90   -O   (test for errors, line 9)
    gfortran.dg/string_1.f90   -O  (test for excess errors)

It appeared between r256941 and r256970, and I bisected this to r256944.

The logs say:
spawn -ignore SIGHUP
/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-linux-gnueabihf/gcc3/gcc/testsuite/gfortran4/../../gfortran
-B/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-linux-gnueabihf/gcc3/gcc/testsuite/gfortran4/../../
-B/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-linux-gnueabihf/gcc3/arm-none-linux-gnueabihf/./libgfortran/
/gcc/testsuite/gfortran.dg/string_1.f90 -fno-diagnostics-show-caret
-fdiagnostics-color=never -O -pedantic-errors -S -o string_1.s

f951: out of memory allocating 17179869204 bytes after a total of 569344 bytes
compiler exited with status 1
FAIL: gfortran.dg/string_1.f90   -O   (test for errors, line 7)
FAIL: gfortran.dg/string_1.f90   -O   (test for errors, line 8)
FAIL: gfortran.dg/string_1.f90   -O   (test for errors, line 9)
FAIL: gfortran.dg/string_1.f90   -O   (test for errors, line 10)
FAIL: gfortran.dg/string_1.f90   -O  (test for excess errors)


According to gcc-testresults, this happens on other targets too.

In my case, I'm building a cross-compiler on x86_64, target
arm-none-linux-gnueabihf (cpu/fpu/mode settings do not matter)


More information about the Gcc-bugs mailing list