[Bug fortran/102619] [10/11/12 Regression] ICE in gfc_conv_descriptor_dtype, at fortran/trans-array.c:215 since r9-6493-g0e3088806577e805
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102619 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Summary|[10/11/12 Regression] ICE |[10/11/12 Regression] ICE |in |in |gfc_conv_descriptor_dtype, |gfc_conv_descriptor_dtype, |at |at |fortran/trans-array.c:215 |fortran/trans-array.c:215 ||since ||r9-6493-g0e3088806577e805 Last reconfirmed||2021-10-11 CC||marxin at gcc dot gnu.org Status|UNCONFIRMED |NEW --- Comment #2 from Martin Liška --- Started likely with r9-6493-g0e3088806577e805.
[Bug fortran/102619] [10/11/12 Regression] ICE in gfc_conv_descriptor_dtype, at fortran/trans-array.c:215
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102619 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|--- |10.4
[Bug fortran/102619] [10/11/12 Regression] ICE in gfc_conv_descriptor_dtype, at fortran/trans-array.c:215
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102619 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #1 from G. Steinmetz --- While synonym z0.f90 compiles, the other variants don't : $ cat z0.f90 program p contains function f(x) result(z) real :: x(:) real, allocatable :: z(:) z = g(x) end function g(x) real :: x(..) real :: g(size(x)) end end $ cat z2.f90 program p contains function f(x) result(z) real :: x(:) real, allocatable :: z(:) z = g(x) end function g(x) real :: x(..) real :: g(product(ubound(x)-lbound(x)+1)) end end $ cat z3.f90 program p contains function f(x) result(z) real :: x(:) real, allocatable :: z(:) z = g(x) end function g(x) real :: x(..) real :: g(product(ubound(x))) end end