This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/64578] [OOP] Seg-fault and ICE with unlimited polymorphic array pointer function
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 13 Jan 2015 10:36:28 +0000
- Subject: [Bug fortran/64578] [OOP] Seg-fault and ICE with unlimited polymorphic array pointer function
- Auto-submitted: auto-generated
- References: <bug-64578-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64578
--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
I don't see the segmentation fault on x86_64-apple-darwin14 and 4.9.(2|3) or
trunk (5.0 with or without patches). However I get the ICE if I remove the
comment. Note that with 4.8.(4|5) I get the following error for the test in
comment 0:
ptr => return_pointer(f) ! runtime segmentation fault
1
Error: Different ranks in pointer assignment at (1)