[Bug fortran/56765] [OOP] compilation errors/ICE with polymorphic array
gerhard.steinmetz.fortran@t-online.de
gcc-bugzilla@gcc.gnu.org
Wed May 11 17:21:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56765
--- Comment #6 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
On my environment, all tests compile now without an ICE.
(also tested with several other compile options)
$ gfortran-6 --version
GNU Fortran (SUSE Linux) 6.1.1 20160502 [gcc-6-branch revision 235698]
$ gfortran-6 -Wall -Wextra pr56765_comment0_t2.f90
$ a.out
$ gfortran-6 -Wall -Wextra pr56765_comment0_t3.f90
pr56765_comment0_t3.f90:4:4:
u => sub()
1
Error: Different ranks in pointer assignment at (1)
$ gfortran-6 -Wall -Wextra pr56765_comment4.f90
$ a.out
More information about the Gcc-bugs
mailing list