[Bug fortran/85084] New: [6/7/8 Regression] ICE: out of memory allocating 18446744073709551600 bytes ...
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Mon Mar 26 19:17:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85084
Bug ID: 85084
Summary: [6/7/8 Regression] ICE: out of memory allocating
18446744073709551600 bytes ...
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Invalid code affects versions 6/7/8 :
$ cat z1.f90
program p
real :: a(3,3) = 1.0
real :: b(3)
b = matmul(a, a)
end
$ cat z2.f90
program p
real :: a(3,3) = 1.0
real :: b(33)
b = matmul(a, a)
end
$ gfortran-5 -c z1.f90 -O2
z1.f90:4:3:
b = matmul(a, a)
1
Error: Incompatible ranks 1 and 2 in assignment at (1)
$ gfortran-8 -c z1.f90 -O2
z1.f90:4:3:
b = matmul(a, a)
1
Error: Incompatible ranks 1 and 2 in assignment at (1)
f951: out of memory allocating 18446744073709551600 bytes after a total of
643072 bytes
More information about the Gcc-bugs
mailing list