[Bug fortran/52994] [OOP] [F08] internal compiler error: in gfc_trans_assignment_1, at fortran/trans-expr.c:6881
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Thu Oct 25 22:32:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52994
--- Comment #13 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> FYI : On my environment it's not possible to produce an ICE with gcc-9
> and several tested combinations of options / all tested configurations.
>
> $ gfortran-9-20181021 -c pr52994.f90
> pr52994.f90:43:29:
>
> 43 | a%left_halo(psi%arr) = -666
> | 1
> Error: Different types in pointer assignment at (1); attempted assignment
> of REAL(4) to INTEGER(4)
The change occurred between revisions r227742 (2015-09-14, ICE) and r228457
(2015-10-04, error), likely r228222 (pr40054, pr63921).
Note that I am surprised by the order of REAL(4) and INTEGER(4): AFAICT
a%left_halo(psi%arr) is real and -666 an integer, isn't it?
More information about the Gcc-bugs
mailing list