[Bug fortran/92586] ICE in gimplify_expr, at gimplify.c:13479 with nested allocatable derived types
epagone at email dot it
gcc-bugzilla@gcc.gnu.org
Sun Nov 24 19:45:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92586
--- Comment #2 from epagone <epagone at email dot it> ---
I managed to produce a test case that does not require any external library
(much easier to test). Please find it attached in my previous comment.
I was able then to test it easily with all the versions of gfortran available
on my machine. Here are the results.
$ gfortran-9 bug_gimplify.f90
bug_gimplify.f90:34:0:
34 | data_get_foo_s = self%foo(ith)%get_s()
|
internal compiler error: in gimplify_expr, at gimplify.c:13479
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-9/README.Bugs> for instructions.
$ gfortran-9 --version
GNU Fortran (Ubuntu 9.2.1-17ubuntu1~18.04.1) 9.2.1 20191102
$ gfortran-8 bug_gimplify.f90
bug_gimplify.f90:34:0:
data_get_foo_s = self%foo(ith)%get_s()
internal compiler error: in gimplify_expr, at gimplify.c:12492
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions.
$ gfortran-8 --version
GNU Fortran (Ubuntu 8.3.0-6ubuntu1~18.04.1) 8.3.0
$ gfortran-7 bug_gimplify.f90
bug_gimplify.f90:34:0:
data_get_foo_s = self%foo(ith)%get_s()
internal compiler error: in gimplify_expr, at gimplify.c:12247
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
$ gfortran-7 --version
GNU Fortran (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
More information about the Gcc-bugs
mailing list